Repository navigation
chore(enterprise): advance the submodule pin to the current private-repo head - #2063
Merged
Merged
Conversation
…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]>
|
Resolve by running |
vybe
approved these changes
Aug 9, 2026
vybe
left a comment
Contributor
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Advances
src/backend/enterprisefrome898cef8to the private repo's current headc2cfeb3f. 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 reachmainahead of the OSS seam it depends on. That ordering is the whole point: adev → maincut 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:
e898cef8c2cfeb3fZero 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
pyotpdependency — 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 plaingit submodule update --init --recursiveskips 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