Repository navigation
CI: keep flaky-pass reports and measured e2e samples - #346
Merged
Merged
Conversation
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
SSFSKIM
added a commit
that referenced
this pull request
Oct 29, 2026
…job's evidence and a measured group keeps its samples Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
SSFSKIM
added a commit
that referenced
this pull request
Oct 29, 2026
…9-remote One conflict, in src/main/index.ts's import block: O8 M4a's page-fixture import beside remote lane A's; both kept. Sminos-Session: GUI AI agent workspace charter#37052769 (MAWS on macbook)
This was referenced Oct 29, 2026
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.
Green e2e jobs keep the evidence that a retry or a measured window needs, without uploading every green job's HTML report.
Why
A flaky pass previously kept neither its Playwright report nor the first attempt's attachments. A green measured group also discarded its per-sample JSON, so its window could not be re-judged under another load rule. Runs 40852439950 and 40859186626 lost those samples.
What changes
flaky=truewhen its own command log contains aflaky:line, with ANSI colors stripped. The result comes from this command, not a marker left in runner temp. Its exit status, summary and the separate flaky annotation are unchanged.e2e-<slug>upload also runs on that step's flaky output. It still includesplaywright-report/,test-results/andapps/desk-web/test-results/.test-results/**/*.jsonasmeasured-e2e-<slug>on every outcome, including cancellation when the runner can still run cleanup steps. A red measured job can produce both artifacts without a name collision.What a flaky pass keeps, and what it still lacks
A browser-free Playwright 1.63.0 probe, using this tree's config and retry setting, failed once with a diagnostic JSON attachment and then passed. It exited zero, emitted
flaky=true, and retained both attempt directories, the failed attempt's attachment and error-context.md, and the HTML report. No preserveOutput change is needed.This preserves what the harness already captures, not evidence it never recorded. The shared Electron launch fixture has no general screenshot, main-process stdout/stderr attachment or explicit tracing capture; Playwright's browser
use.tracesetting does not capture_electronlaunches. Specs that write screenshots/attachments under the uploaded directories keep them; spec-specific diagnostics in test errors/output also remain in the report. There is no blanket main-process stderr or Electron trace guarantee. Adding that would broaden this upload fix into capture policy, so the harness is unchanged.Checks
flaky=true; the workflow test found no measured upload.node --test .github/scripts/gate-plan.test.mjs scripts/ci-gate-flaky.test.mjs: 94/94. The workflow tests exercise both jobs' upload conditions across checkout outcomes, pass/fail, explicit evidence, flaky output and measured status; the existing build/settle step pins follow the new id.Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)