Skip to content

chore(enterprise): advance the submodule pin to the current private-repo head - #2063

Merged
vybe merged 1 commit into
devfrom
chore/bump-enterprise-a2a
Aug 9, 2026
Merged

vybe merged 1 commit into
devfrom
chore/bump-enterprise-a2a

Conversation

@trinity-ability

Copy link
Copy Markdown
Contributor

Advances src/backend/enterprise from e898cef8 to the private repo's current head c2cfeb3f. Final step of the ent#157 sequence; one gitlink, no other files.

Why

The pin had drifted 12 commits behind. The pointer is what a mounted install actually checks out, so a stale pin silently caps which private modules an entitled deployment can reach — anything registered after the pinned commit resolves to nothing and its gated routes answer 403, with no error anywhere and green CI. Several of the commits this activates are security fixes, so the drift is not cosmetic.

Clean fast-forward: the old pin is an ancestor of head (12 ahead, 0 behind), no divergence to reconcile.

Sequencing — satisfied by construction

#1628 originally carried a bump to 740063e3d, a commit that existed only on the companion PR's unmerged branch: 6 behind that branch's own tip and diverged from the private head (+5/−7). Merging it would have pinned dev to unmerged code missing five commits of private-repo work. That bump was reverted before #1628 merged, with the pointer move deferred to its own PR once the companion landed. It has landed, so this is that move.

This branch is cut from #1628's merge commit (fb80519a), so the pin cannot reach main ahead of the OSS seam it depends on. That ordering is the whole point: a dev → main cut carrying the bump without #1628 would reproduce the exact 403-forever state this fixes. Please keep them together through the release cut.

Verification

Full private-repo suite, run against this dev at both pins in an identical environment:

failed passed
old pin e898cef8 32 196
new pin c2cfeb3f 30 376

Zero new failures, two fixed, 180 additional passing tests. The 30 that persist fail identically at both pins and are environmental — 16 are a missing optional pyotp dependency — so they are not introduced here. I diffed the failure sets by name rather than comparing counts, since equal counts can hide a swap.

Also confirmed the companion module's own suite passes against post-#1628 dev (35 passed), which was not possible before #1628 provided the OSS seam, and that its agent-scoped tables are genuinely registered for delete/rename cascade — commenting the registration out fails 4 tests including the rename and delete cases.

Risk

Low and reversible — a one-line gitlink revert. OSS clones are unaffected: both submodules are update = none, so a plain git submodule update --init --recursive skips them and no external contributor sees a change. CI does not mount the submodule either, which is exactly why this class of drift needs checking by hand at release.

🤖 Generated with Claude Code

…epo head

The pin had drifted 12 commits behind the private repo's head. Because the
pointer is what a mounted install actually checks out, a stale pin means the
private modules registered at that commit are the only ones an entitled
deployment can reach — later ones resolve to nothing and their gated routes
answer 403 with no error anywhere, on green CI. Advancing it is the routine
counterpart to that, and it is a clean fast-forward (the old pin is an
ancestor; head is 12 ahead, 0 behind).

This also completes the ent#157 sequence. #1628 originally carried a pointer
bump to an unmerged feature-branch commit — 6 behind that branch's own tip and
diverged from the private head — which would have pinned dev to unmerged code.
That bump was reverted before #1628 merged, on the agreement that the pointer
moves separately once the companion PR landed. It has, so this is that move.

Ordering requirement, satisfied by construction: this branch is cut from the
merge commit of #1628, so the pin cannot reach main ahead of the OSS seam it
depends on. Cutting it from an older base would reproduce exactly the failure
this commit exists to fix.

Verified rather than assumed — full private-repo suite run against this dev at
both pins, same environment:

  old pin: 32 failed, 196 passed
  new pin: 30 failed, 376 passed

Zero new failures, two fixed, 180 additional passing tests. The 30 that persist
are environmental at both pins (16 are a missing optional `pyotp` dependency),
not introduced here.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

⚠️ Nightly unit-suite check skipped — merge conflict against dev.

Resolve by running git merge dev locally and pushing the result. The next nightly run will re-test once the conflict is gone.

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified independently of the PR body: e898cef8...c2cfeb3f is 12 ahead / 0 behind, and c2cfeb3f is the current head of trinity-enterprise/main. Clean fast-forward to tip, one gitlink. Approving.

@vybe
vybe merged commit 6ec2d74 into dev Aug 9, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants