Repository navigation
the trunk lane: a release column, with promotion as the same release moving to the next environment (#692) - #728
Merged
Merged
Conversation
…moving to the next environment (#692) Between the trunk's commits and the environments' gates, the Trunk tab lists every release chant release list names, newest first: its label and digest, the commit it was cut from, its newest cut with chant's signature check, where it runs and waits, and the environment its member's promotion order names next. Each commit names the releases cut from it. A release is config-only when it carries artifact digests equal to its previous release's, the previous being the one of the same member cut from the nearest older commit (trunk order, then release list's order). From chant 0.124.29 (RELEASE_COLUMN_CHANT_FLOOR, chant#4033, chant#4043) the column marks a revoked release with its ci/revoked tag and the rollback line, lists the release gates chant reads as superseded, and reads the release each deploy record names. Below it the column comes from release list alone and says so; doctor says the same. The fixtures are recorded from chant main at 08334f407 in the workspace src/trunk-lane-fixture.ts makes, which the real-chant test now shares, and the vendored schemas in src/trunk-lane-schemas/ are refreshed from the same revision.
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.
Closes #692
The Trunk tab gains a releases section between the commits and the environments: each release cut from a green commit, where it runs and waits, and the next environment in the promotion order.
ci listtrunk, newest first; commits outside it after every listed one; ties byrelease list's own order). This matches howrelease cutreuses an unchanged artifact's digest. The oldest release, and one with no artifact digests, get no mark.release listsorts them by name).RELEASE_COLUMN_CHANT_FLOOR0.124.29, forrevoked,releaseDigestandreleaseLabelon status andrevokedonrelease list. Below it nothing is refused: the column comes fromrelease listalone with no revoked mark, and the tab says which chant adds it. The lane still needs only 0.124.28.src/trunk-lane-fixture.ts, shared with the real-chant test): three releases, v2 config-only, v3 cut from a revoked commit, running in staging with a superseded release gate in prod. Vendored schemas refreshed from chant main 08334f407.Acceptance
src/trunk-lane.test.ts"renders for two releases across two environments…"; the rendered order inweb/trunk-lane.test.js"draws the column between the trunk's commits and the environments' gates").artifactDigestsequal the previous release's is marked config-only, and one with a changed digest is not ("marks a release config-only…", plus "finds the previous release by the commit's place in the trunk…").Checks
npm run tsc,npm test(212 files, 3315 passed),npm run build,bash scripts/typecheck-floor.sh: pass after rebasing on behold main. The real-chant tests (trunk lane in full and degraded mode, change-set overlay, run events) pass against chant main. No server was started.Findings for chant, noted on behold#678:
release listsorts a release's environments by name rather than promotion order, and doesn't say which release a cut reused artifacts from (apreviousorconfigOnlyfield would remove behold's inference).