Repository navigation
quest: plan the land gate's CI follow-ups #7456
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
Changes from all commits
ae90d79
f5d0e22
4c4eb95
122f04a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # [XS] Cheap checks run through quest gate --quick | ||
|
|
||
| ## Goal | ||
|
|
||
| moq's cheap checks, such as `check quest`, the formatters, and markdown, | ||
| wait at most a short bounded time for `quest gate` admission instead of | ||
| queuing behind agent builds. | ||
|
|
||
| ## Plan | ||
|
|
||
| Decided 2026-10-31 (user, /quest-plan of the follow-ups from moq-dev/quest's host-gate cutover for moq.pro and rust2 and its fixer repairs). | ||
|
|
||
| - Condition: [moq-dev/quest#324](https://github.com/moq-dev/quest/pull/324) | ||
| lands, adding `quest gate --quick` (at most 60 seconds of admission wait), | ||
| and moq's flake pins a quest that includes it. | ||
| - Cheap checks waited up to an hour behind load | ||
| ([#7250](https://github.com/moq-dev/moq/pull/7250), | ||
| [#7257](https://github.com/moq-dev/moq/pull/7257)). Mark them in the | ||
| dispatcher's module table, not by command name, and leave builds and | ||
| test suites under normal admission. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| # [S] A nix.moq.dev error does not fail a check | ||
|
|
||
| ## Goal | ||
|
|
||
| A transient 5xx from `nix.moq.dev` costs a cache miss, not a failed | ||
| `just ci`: the dev shell still evaluates and builds what it could not | ||
| substitute. | ||
|
|
||
| ## Plan | ||
|
|
||
| Decided 2026-10-31 (user, /quest-plan of the follow-ups from moq-dev/quest's host-gate cutover for moq.pro and rust2 and its fixer repairs). | ||
|
|
||
| - On 2026-10-31 one HTTP 500 for a `.narinfo` failed `check flake` and | ||
| ejected a seven-PR batch in the host land gate. Nix stops on a failed | ||
| path-info lookup even with `fallback = true`, which covers only failed | ||
| downloads. | ||
| - Prefer fixing it at the source: find what made the cache Worker return 500 | ||
| for a lookup and have it answer 404 (a miss) when its bucket read fails. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Keep the second bucket lookup available after a bucket error.
|
||
| If Nix still sees 5xx from the edge, retry the lookup in the Worker or | ||
| through Nix's `download-attempts`. | ||
| - The [Nix cache verification](/quest/m0/ci/nix-cache-verify.md) owns the | ||
| release side of the cache. | ||
|
|
||
| ## Related | ||
|
|
||
| - [Verify the Nix cache](/quest/m0/ci/nix-cache-verify.md) - releases and bucket sizes | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not classify the whole
markdownmodule as quick.check:markdownfirst runsbun install --frozen-lockfileand then runssh/markdown.sh check.quest gate --quickstarts after 60 seconds even when memory admission is still unavailable, so a cold dependency install can start under host pressure. Keep dependency installation under normal admission and mark only the actual markdown check as quick. (raw.githubusercontent.com)