fix: enable CI triage by default and scope #093 Playwright roots - #1515
Conversation
CI triage no longer requires CI_TRIAGE_ENABLED=true (opt out with false). Add visibleByTestId for Next streaming duplicate roots and apply it to the known ui-tools/ui-smoke/ui-accessibility hotspots instead of bare getByTestId or .first(). Archive #93 and #138. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe CI triage workflow is now enabled by default with an explicit opt-out. Playwright tests use visibility-aware test-ID locators for potentially duplicated DOM roots, and related documentation and review records were updated. ChangesCI triage enablement
Visibility-aware UI assertions
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Comment |
|
Temporarily closing to preserve the serialized merge queue while #1510 exact-head CI completes. This PR will be reviewed in a later queue slot. |
|
@cursoragent Prep this closed PR for reopen. Leave it CLOSED. Do not merge, reopen, force-push, rebase, or arm auto-merge. Do only this, in order:
Treat closed-PR CI as stale until reopen. Do not run local test suites CI will cover unless needed to prove a specific fix. |
|
PR #1515 is ready for reopen and remains CLOSED. Snapshot (before sync)
Sync
Review (tip vs main)No P0–P2 findings.
Threads + fixesNothing actionable. No code fixes required. Handoff
Residual risks: enabling triage by default will start commenting on PR CI failures (intended; opt out with Fresh mergeability and required CI apply only after reopen. |
Ledger row for tip after main sync; PR remains closed. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
@cursoragent This PR was just reopened. Do not merge, force-push, rebase, or arm auto-merge
|
|
PR #1515 is reopen-ready on the current tip. Merge left to you. 1. Snapshot
2. Sync
3–4. CI + threads
Handoff
Not merged, not force-pushed, not rebased, auto-merge not armed. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tests/ui-tools.spec.ts`:
- Around line 1401-1405: Update the global-search count assertion in the Forms
test to query through the visible forms-home container, reusing
visibleByTestId(page, "forms-home") or the existing visible-input helper instead
of page.getByTestId("global-search-input"). Keep the assertion expecting exactly
one visible input.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 099dc09a-1b57-42d0-8122-79165b8235e3
📒 Files selected for processing (9)
.github/workflows/ci-triage.ymldocs/branch-review-ledger.mddocs/outstanding-issues.mddocs/process-hardening.mddocs/testing.mdtests/playwright-settlement.tstests/ui-accessibility.spec.tstests/ui-smoke.spec.tstests/ui-tools.spec.ts
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/branch-review-ledger.md`:
- Line 349: Update the ledger entry for commit
1addcece5a2b7122c5898584830109f617421a3a with the decisive output for each
listed verification gate, including static checks, lint, typecheck, Vitest,
Chromium UI, and production-readiness; if any result is unavailable, explicitly
mark that check as pending instead of claiming completion.
🪄 Autofix (Beta)
❌ Autofix failed (check again to retry)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 428849f7-9a4d-4cc6-8ec7-dac12310cd3b
📒 Files selected for processing (4)
docs/branch-review-ledger.mddocs/outstanding-issues.mddocs/process-hardening.mdtests/ui-smoke.spec.ts
🚧 Files skipped from review as they are similar to previous changes (3)
- docs/process-hardening.md
- tests/ui-smoke.spec.ts
- docs/outstanding-issues.md
CodeRabbit: page-wide global-search-input toHaveCount(1) still trips on hidden streaming duplicates; count under the visible forms-home owner. Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
|
Note Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it. Autofix skipped. No unresolved CodeRabbit review comments with fix instructions found. |


Summary
Closes the remaining follow-ups from the CI hygiene workstream that are code-fixable here:
#138/ CI triage — enable by default (vars.CI_TRIAGE_ENABLED != 'false'). Opt out withCI_TRIAGE_ENABLED=false. Still trusted default-branch checkout only; never runs PR code. Fixes the stale “now set” claim indocs/process-hardening.md.#093Playwright duplicate root — add sharedvisibleByTestId(visible filter, not bare.first()) and apply it to the known hotspots inui-tools/ui-smoke/ui-accessibility.Not in this PR:
#023remainder (needs a green weekly/manualrelease-browser-matrixdatapoint + human irrelevant-at-10 disposition).Clinical Governance Preflight
.first().CI_TRIAGE_ENABLED=falseto disable triage without revert.RAG impact
RAG impact: no retrieval behaviour change — test helpers and CI triage workflow only.
Verification
Hosted: wait for tip
PR required(UI jobs will run because Playwright specs changed).Summary by CodeRabbit