Skip to content

test: restore SSH bulk-open freeze coverage in headed CI - #19081

Merged
nwparker merged 4 commits into
mainfrom
nwparker/test-headed-ssh-bulk-open-freeze
Sep 6, 2026
Merged

nwparker merged 4 commits into
mainfrom
nwparker/test-headed-ssh-bulk-open-freeze

Conversation

@nwparker

@nwparker nwparker commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

The quarantined five-pane SSH bulk-open freeze test consistently exceeds its interaction budget in Linux headless CI because idle animation frames arrive about one second apart. Run the original workload in the existing headed SwiftShader/Xvfb project, which restores normal frame cadence, and register it in the Docker SSH lane and reliability manifest. Assertions, workload, timeouts, and the 2500ms/5000ms freeze budgets are unchanged.

Controlled evidence: headless run https://github.com/stablyai/orca/actions/runs/34037141058 measured approximately 1s idle frame spacing and failed all three repetitions; the same instrumented workload in headed run https://github.com/stablyai/orca/actions/runs/34037450427 passed all three, with approximately 16ms idle frames and 145–159ms interaction times. The original uninstrumented workload passed all ten repetitions with zero retries/skips in 6.6m: https://github.com/stablyai/orca/actions/runs/34037669843. That run uses merged application code without the pending replay-input fix #19075.

Local verification: 66 manifest and routing contract tests passed; the reliability manifest validator and diff whitespace check passed. Previous routing/CLI verification passed 52 tests. No local Electron launches.

Uninstrumented bulk-open lag was 79.3–147.8ms and interaction was 127.1–155.9ms. Require final PR CI and Pullfrog before merging. A separate 6478.6ms timer-lag outlier in the earlier headless distribution remains unexplained; the manifest retains that gap and experimental maturity.

Pullfrog passed the initial head; its routing note is addressed by excluding the freeze spec from changed-e2e so the dedicated Docker lane owns it. All 42 routing contracts pass. Initial PR CI passed on 04d2b12; final head 525f1a0 changes only workflow routing and its contract. Final PR CI passed on 525f1a0: https://github.com/stablyai/orca/actions/runs/34038816567. Docker SSH: 34 passed, 1 existing skip; freeze lag128.4ms and interaction145.1ms. Explicit final-head E2E also passed: https://github.com/stablyai/orca/actions/runs/34038826571. Pullfrog incremental review5125615584 passed with no new issues.

@nwparker
nwparker marked this pull request as ready for review September 6, 2026 14:07
@coderabbitai

coderabbitai Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: c711a899-d085-48de-99e8-051a8bcf2155

📥 Commits

Reviewing files that changed from the base of the PR and between 04d2b12 and 525f1a0.

📒 Files selected for processing (2)
  • .github/workflows/e2e.yml
  • config/scripts/pr-e2e-gate-contract.test.mjs

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The SSH Docker bulk-open freeze reproduction now runs as a headed Electron test. The Docker E2E runner and watcher-isolation workflow route the spec to the Docker lane, and the gate contract requires lane coverage. The reliability gate adds Linux coverage, commands, freeze-budget assertions, CI evidence, and updated known-gap notes.

Merge Risk: ⚪ Minimal · up to 525f1

This change restores headed Linux CI coverage for the SSH bulk-open freeze reproduction and routes it to its dedicated Docker lane. No current merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (3 warnings)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The changes restore headed Docker SSH freeze-test coverage, but linked issue #19075 requires preserving real user input during scrollback replay and adding replay/input regression coverage. This pull … Link the correct test issue, such as #19071, if this is the dependent test-only pull request. Otherwise, add the required replay-guard production fix and regression coverage for #19075, or explain explicit evidence that this freeze test val…
Out of Scope Changes check ⚠️ Warning Relative to linked issue #19075, the workflow routing, reliability manifest, runner project change, and freeze reproduction restoration are not directly related to preserving user input during scrollb… Link the issue that defines the SSH bulk-open freeze coverage objective, or remove the unrelated freeze-coverage and routing changes from this pull request. Keep only changes that implement or validate the linked replay-input requirements.
Description check ⚠️ Warning The description gives detailed context, rationale, implementation scope, evidence, and testing results. However, it does not use the required template sections and omits the mandatory linked issue ent… Update the description to include the required template headings and fields. Add a linked issue in the required Fixes #... format, provide N/A with a reason for Visual Proof if no UI change applies, complete the Testing and Checklist it…
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 4…
Title check ✅ Passed The title clearly summarizes the primary change: restoring SSH bulk-open freeze coverage in headed CI.
Full details: Linked Issues check

Explanation

The changes restore headed Docker SSH freeze-test coverage, but linked issue #19075 requires preserving real user input during scrollback replay and adding replay/input regression coverage. This pull request does not modify the replay guard or add the stated regression coverage.

Resolution

Link the correct test issue, such as #19071, if this is the dependent test-only pull request. Otherwise, add the required replay-guard production fix and regression coverage for #19075, or explain explicit evidence that this freeze test validates that issue's acceptance criteria.

Full details: Out of Scope Changes check

Explanation

Relative to linked issue #19075, the workflow routing, reliability manifest, runner project change, and freeze reproduction restoration are not directly related to preserving user input during scrollback replay. They represent a separate test-coverage objective.

Full details: Description check

Explanation

The description gives detailed context, rationale, implementation scope, evidence, and testing results. However, it does not use the required template sections and omits the mandatory linked issue entry, visual-proof statement, checklist status, AI disclosure, review section, and agent-skill boundary acknowledgment.

Resolution

Update the description to include the required template headings and fields. Add a linked issue in the required Fixes #... format, provide N/A with a reason for Visual Proof if no UI change applies, complete the Testing and Checklist items, address AI Disclosure, Review, Agent skill upstream boundary, and Notes sections, and retain the existing testing evidence under the appropriate headings.

  • Fix all pre-merge checks with AI
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor routing-consistency note inline.

Reviewed changes

  • Restored headed freeze coverage — ssh-docker-bulk-open-freeze-repro.spec.ts flips from test.fixme to a live @headful test, leaving the 2500ms/5000ms budgets, workload, and assertions untouched, so the double-requestAnimationFrame interaction probe now runs against real ~16ms SwiftShader frames instead of headless Linux's ~1s idle RAFs.
  • Registered in the Docker SSH lane — run-ssh-docker-e2e.mjs adds the spec to its serial list; the runner already passes both projects and the headless project grepInverts @headful, so it runs once, headed, under the existing xvfb-run + openbox setup.
  • Reliability manifest — extends coveredPlatforms to Linux, documents the headed command (incl. --repeat-each=10), and records the 6.6m ten-repetition evidence run.
  • Gate contract — the spec leaves unreachableSpecs now that a lane runner claims it.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

Comment thread .github/workflows/e2e.yml Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Routed the freeze spec exclusively to its dedicated lane — the changed-e2e jq filter now drops ssh-docker-bulk-open-freeze-repro.spec.ts, so editing it runs it once in ssh-docker-watcher-isolation (via the contains clause) instead of in both lanes.
  • Widened the lane comment wording — "two spec clauses" became "explicit spec clauses", matching the three contains disjuncts.
  • Extended the gate contract test — a new assertion pins the added jq filter clause so the routing can't silently regress.

Pullfrog  | View workflow run | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@nwparker
nwparker merged commit 1d2e008 into main Sep 6, 2026
37 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
)

* test: restore SSH bulk-open freeze coverage in headed CI

* test: record ten passing headed SSH freeze repetitions

* test: record ten passing headed SSH freeze repetitions

* test: route changed SSH freeze spec only to its dedicated lane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant