← Back to issue list

feat(PROTOTYPE): git build-root for monorepos

View original Github issue

Metadata

Project
charmcraft
Number
#2761
Type
pull request
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Prototype PR for git build-root monorepo support was closed unmerged; @mr-cal marked it superseded by PR #2836, which merged (e06d40c1) adding opt-in CHARMCRAFT_EXPERIMENTAL_MONOREPO git-driven build root.

Resolution: closed superseded

Reason: The prototype was never merged in this form; maintainer @mr-cal closed it on 2026-09-10 with the comment "Superseded by #2836". PR #2836 merged as commit e06d40c1, delivering the git-driven build root behind the CHARMCRAFT_EXPERIMENTAL_MONOREPO opt-in with unit and spread tests.

Evaluated by: mr-cal-bot

No scores available.

Issue body

CHARMCRAFT-710 --- - [ ] I've followed the [contribution guidelines](https://github.com/canonical/charmcraft/blob/main/CONTRIBUTING.md). - [ ] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [ ] I've successfully run `make lint && make test`. - [ ] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [ ] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Prototype PR for git build-root monorepo support was closed unmerged; @mr-cal marked it superseded by PR #2836, which merged (e06d40c1) adding opt-in CHARMCRAFT_EXPERIMENTAL_MONOREPO git-driven build root.
stealth/space-bunny-alpha — closed superseded Prototype git build-root support for monorepos was closed and superseded by merged PR #2836, which added opt-in CHARMCRAFT_EXPERIMENTAL_MONOREPO support.
qwen/qwen3.6-35b-a3b — — Superseded by PR #2836, which merged the git build-root feature for monorepos. This prototype was closed after the functionality was successfully implemented elsewhere.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 30
Staleness: 90
Complexity: 40
Confidence: 95
close stale Prototype PR for git-driven build root via CHARMCRAFT_EXPERIMENTAL_MONOREPO. Feature was merged in PR #2836; author acknowledged and said to ignore this PR.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 8
Staleness: 80
Complexity: 50
Confidence: 92
close stale Prototype for git-driven build root for monorepos (CHARMCRAFT-710), +144/-61 across 11 files. Superseded by merged PR #2836 which implements the same CHARMCRAFT_EXPERIMENTAL_MONOREPO feature; latest comment says 'Ignoring this one.'
qwen/qwen3.8-27b
Impact: 5
Quick Win: 3
Staleness: 80
Complexity: 45
Confidence: 92
close stale Prototype git build-root feature for monorepos (CHARMCRAFT-710). Superseded: the same feature was merged in #2836 via the CHARMCRAFT_EXPERIMENTAL_MONOREPO env var, and the commenter says to ignore this PR.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 45
Confidence: 90
needs review Prototype feature adding git build-root for monorepos via experimental env var. Currently pending review with 2 unresolved comments and multiple failing CI checks. Active discussion on timeline and snap store compatibility.
qwen/qwen3.6-35b-a3b
Staleness: 40
Complexity: 40
Confidence: 85
needs review Adds git build-root support for monorepos. Currently pending maintainer review with zero approvals, two unresolved comments, and several failing CI checks on documentation and snap tests.
qwen3.6-35b-a3b-mtp-q6
Staleness: 5
Complexity: 30
Confidence: 85
keep open Prototype PR adding git build-root support for monorepos. Currently a draft with no description, code, or comments. Awaiting implementation details and review.

Update history

Date Change
closed
updated
updated

Related work

  • Superseded By: canonical/charmcraft#2836 (confidence 97%)

    Merged replacement PR for the same feature; closing comment on #2761 explicitly names it as the superseding work.

Related issues

Issue Project State Summary Similarity
#1630 feat(PROTOTYPE): root_dir for handling monorepos craft-parts closed Closed unmerged: the root_dir monorepo prototype was abandoned in favor of relative parent paths.
79%
#2836 feat: opt into git-driven build root via CHARMCRAFT_EXPERIMENTAL_MONOREPO charmcraft merged Merged in #2836 (commit e06d40c1): adds CHARMCRAFT_EXPERIMENTAL_MONOREPO env var and APP_METADATA.allow_git_build_root so charmcraft packs charms from a monorepo, with unit and spread tests.
77%
#2573 Support referencing sibling directories of project root charmcraft closed Resolved experimentally by opt-in Git-root builds: PR #2836 (commit e06d40c1) added CHARMCRAFT_EXPERIMENTAL_MONOREPO, with craft-application PR #1109 supporting the underlying project-root behavior.
75%
#1109 feat: opt-in experimental monorepo support craft-application merged Merged PR #1109, adding opt-in experimental monorepo builds; commit 8b5db661 mounts the Git root when both the application and user opt in.
75%