Repository navigation
Fix inherited CI failures on the Quota wait branch - #2013
Merged
Merged
Conversation
The issue-1994 merge into main added base_ci_skipped alongside the quota History selector. Preserve the Kind-based activity_write interface so that clean textual merge compiles, while named Process quota waits still select their own history. Fixes #2012.
Quota warnings expire with the clock before the background read necessarily completes. The CI regression raced that expiry against the GraphQL call-count assertion. Change the fake pull request to merged and wait for its Console row to reach Resolved, keeping the pre-reset no-read check and resumed-read assertion intact.
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.
Summary
Fix two inherited CI failures on the Quota wait branch: an incompatible Activity log caller in the merge with
main, and a quota-reset test that raced the Console's background read.Restore the ordinary writer's
Option<Kind>interface and keep named Process quota history in its private implementation. In the quota-reset regression, retain every original assertion and wait for an observed GitHub state change; warning expiry alone does not establish that the background read finished.Closes #2012
Evidence
Execution evidence
The failure is in the synthetic merge with
main, rather thanissue-1994alone. Reproduced by mergingorigin/mainat09f0c6c49e2c056230c38053b8d86a42d9a214f5into a detached checkout of14bda782c96fe20697f03a79c598891089af65d8, then applying this patch for the After run.CARGO_TARGET_DIR=/home/jstephens/repos/thirdshift-issue-2012/target cargo build --locked --manifest-path /tmp/issue-2012-merge-check/Cargo.tomle240cd55, the compiled patched merge tree equalsgit merge-tree --write-tree HEAD refs/remotes/origin/main:57166808dec7ad47fb9e844c5cc17e80eb43432f. The later commit changes only the quota-reset test.cargo build --lockedandcargo fmt --check: passed on this branch.cargo test --bin thirdshift logs::recording::tests: 30 passed.cargo test --test pass_quota: 6 passed; 1 pre-existing ignored test unchanged.npm test --prefix console: 190 passed, 0 failed, 0 skipped. The test environment setsTHIRDSHIFT_BINARYto an isolated copy of the patched binary andPLAYWRIGHT_BROWSERS_PATH=/tmp/issue-2012-browsers. The copy prevents rebuilds from replacing the executable used by live fixtures. An earlier run against the shared build path lost its Inbox server while the executable was rebuilt; this complete rerun passed.cargo test --test console github::console_and_status_share_both_quota_reserves_and_resume_at_reset -- --exact --nocapturereproduced the Rust CI failure:RUST_TEST_THREADS=3 cargo test --test console github::: all 13 GitHub/Console integration tests passed.CARGO_BUILD_JOBS=3 RUST_TEST_THREADS=3 scripts/affected-tests refs/remotes/origin/issue-1994: selected the full Rust suite via its documentedcargo testfallback. On the final head, 1,770 unit tests and all 287 active Console HTTP integration tests passed locally. Stopped the duplicate local run after successful full CI for the exact same head, followingdocs/testing.md's instruction to reuse successful CI. The earlier run was stopped after reproducing the CI failure, before the test repair.e953947bpassed, includingconsole-test,site-test, formatting, Python tooling and clippy. Its full Rust command,cargo nextest run, passed all 4,202 active tests across 101 binaries in 1,450.784 seconds, with 98 pre-existing skips unchanged; compilation took 1m 30s separately. Both release artifact builds also passed.Seams verified: recording through
Recordand itsOutsideadapter; Pass CLI admission and persisted Activity log; the binary build includingmain's Base CI caller; Console browser flows.Review coverage
Independent Standards and Spec reviews against
refs/remotes/origin/issue-1994: 0 findings on each axis, including the follow-up review. Both reviewers read both changed files,src/logs/recording.rsandtests/console/github.rs. Unread changed files: none. Generated-output exclusions: none.Unaddressed findings
Standards
None.
Spec
None.
Security
None.
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
The private compatibility adapter can be reverted without a data migration.
Blast Radius: logging
Both caller forms retain the existing Activity log append, duplicate suppression and warning behavior.
Built with codex codex-cli 0.167.1 · gpt-6.1-sol · xhigh