Repository navigation
ci(release): skip the 16-minute repeat Verify for already-verified trees and check the Flux rollout #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ci(release): skip the 16-minute repeat Verify for already-verified trees and check the Flux rollout #19
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0a39516
ci: reuse verify tree proof in releases and smoke-check rollout
beastyrabbit 88523f7
ci: explain verify-proof fallbacks and retry homepage smoke
beastyrabbit b301eac
ci: bind verify proof to the release verify workflow
beastyrabbit 07a2f8b
ci: record verify proof in an isolated job
beastyrabbit fc7cb42
ci: bind verify proof to the run head commit tree
beastyrabbit 4ffc2cc
refactor(ci): split proof and rollout checks to satisfy the quality gate
beastyrabbit 38f6ad0
fix(ci): recheck supersession during readiness and make proof best-ef…
beastyrabbit 0c5c68c
fix(ci): resume rollout polling when versions drift during readiness
beastyrabbit b937693
fix(ci): accept ref-qualified Verify workflow paths
beastyrabbit File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| import assert from "node:assert/strict"; | ||
| import test from "node:test"; | ||
|
|
||
| // Match the app integration tests: tldraw disables its browser channel in test mode. | ||
| process.env.NODE_ENV = "test"; | ||
| const { app } = await import("./app.ts"); | ||
| const { config } = await import("./config.ts"); | ||
| const { closeDatabase } = await import("./db.ts"); | ||
| const { leaderState } = await import("./leader.ts"); | ||
|
|
||
| test("version is public and uncached on standbys, with null when unset", async (t) => { | ||
| t.after(closeDatabase); | ||
| assert.equal(leaderState.isLeader, false); | ||
| const original = config.appRelease; | ||
| t.after(() => { | ||
| Object.defineProperty(config, "appRelease", { value: original }); | ||
| }); | ||
| for (const release of ["moddrop@0.9.0", null]) { | ||
| Object.defineProperty(config, "appRelease", { value: release }); | ||
| const response = await app.request("/version"); | ||
| assert.equal(response.status, 200); | ||
| assert.equal(response.headers.get("Cache-Control"), "no-store"); | ||
| assert.deepEqual(await response.json(), { release }); | ||
| } | ||
| }); |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.