fix(report): replay main focus accessibility on current review workflow - #1002
Conversation
Modifies the `:focus` rule on `<main>` to `:not(:focus-visible)` in `report.py` to ensure keyboard focus rings appear while suppressing mouse click rings.
|
Warning Review limit reached
Next review available in: 47 minutes Limit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?Wait for the limit to reset, then comment An organization admin can change what happens after included review limits in Billing. How do review limits work?CodeRabbit enforces per-developer PR review limits within each organization. For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
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. Comment |
|
@opencode-agent @cwl-noema-review Please independently review exact current head |
There was a problem hiding this comment.
Pull request overview
OpenCode cannot approve yet because required coverage evidence did not pass.
Review outcome
1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
-
Problem: The required coverage-evidence job result was
failure, so OpenCode cannot establish approval sufficiency for this head. -
Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.
-
Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports
successwith required evidence or explicit no-source not-applicable evidence. -
Regression test: Keep the approval branch checking
needs.coverage-evidence.result == successbefore posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present. -
Result: REQUEST_CHANGES
-
Reason: coverage-evidence result was
failure, so required test/docstring evidence was not proven for current head52c7401bdec44a7a1e6194f0336617bfc5fe6eed. -
Head SHA:
52c7401bdec44a7a1e6194f0336617bfc5fe6eed -
Workflow run: 32213314612
-
Workflow attempt: 1
Coverage evidence
Coverage evidence job did not run or did not publish coverage evidence.
Changed-File Evidence Map
flowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file: report.py"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file: report.py"]
R1 --> V1["required checks"]
Evidence --> S2["Test: test_report_numeric_motion_css.py"]
S2 --> I2["regression suite"]
I2 --> R2["Review risk: Test: test_report_numeric_motion_css.py"]
R2 --> V2["targeted test run"]
OpenCode Review Overview
Pull request overviewOpenCode cannot approve yet because required coverage evidence did not pass. Review outcome1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence
Coverage evidenceCoverage evidence job did not run or did not publish coverage evidence. Changed-File Evidence Mapflowchart LR
PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
Evidence --> S1["Changed file: report.py"]
S1 --> I1["repository behavior"]
I1 --> R1["Review risk: Changed file: report.py"]
R1 --> V1["required checks"]
Evidence --> S2["Test: test_report_numeric_motion_css.py"]
S2 --> I2["regression suite"]
I2 --> R2["Review risk: Test: test_report_numeric_motion_css.py"]
R2 --> V2["targeted test run"]
|
|
@opencode-agent review Fresh re-review request: ContextualWisdomLab/.github#1136 has merged, fixing the central Generated by Claude Code |
|
@opencode-agent Please re-review unchanged exact head |
|
@opencode-agent Please re-review unchanged exact head |
|
@opencode-agent review Re-dispatch unchanged exact head |
|
@opencode-agent review Re-review exact current head |
* test(report): reject hostile generic report titles * fix(report): reject title subclasses before callbacks * docs(changelog): record report title callback hardening * test(report): preserve title HTML escaping contract * chore(report): remove bot-local palette artifact * chore(report): restore protected-main palette artifact * chore(report): match protected-main palette blob exactly
|
@opencode-agent review Re-review updated exact current head |
|
@opencode-agent review\n@cwl-noema-review review\n\nPlease review exact current head 776963d. Bind every review and approval decision to this SHA and current main. Existing review state is not sufficient evidence for this head; use current Checks and changed-file evidence only. |
|
Current-head review (36e0bdd):
|
|
@opencode-agent review @cwl-noema-review review |
|
@opencode-agent review @cwl-noema-review review Please evaluate only current exact head |
|
Current-head re-review request (36e0bdd): the prior OpenCode CHANGES_REQUESTED review references superseded head 52c7401 and a historical coverage-evidence failure. The current report lane has 48 focused tests passing, Ruff/interrogate 100%, and the current exact-head required checks have been re-triggered. Review only this SHA and regenerate coverage evidence before deciding. |
|
@opencode-agent review @cwl-noema-review review |
|
@opencode-agent Please perform a review-only formal review of exact current PR head |
|
Current-head review record: verified |
|
@opencode-agent review Please perform a formal review of exact current head |
|
Caution Review failedAn error occurred during the review process. Please try again later. 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. Comment |
2 similar comments
|
Caution Review failedAn error occurred during the review process. Please try again later. 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. Comment |
|
Caution Review failedAn error occurred during the review process. Please try again later. 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. Comment |
Supersedes #978 and consolidates the active diagnostics-report focus/accessibility lanes (#1086 and #1067) plus merged child #1000 / issue #999 into one report-surface landing unit.
Product contract
Modality-safe keyboard focus
main, scrollable.table-wrap, export<pre>, and disclosure<summary>pointer-focus suppression uses:focus:not(:focus-visible)rather than blanket:focus { outline: none; }.:focus-visiblekeyboard indicators remain intact for the main region, table regions, export blocks, and disclosure summaries.Generic diagnostics title trust boundary
render_diagnostics_report()admits onlyNoneor an exact built-instrbefore truth-value testing and HTML escaping.strsubclasses fail with package-owned validation before overridden callbacks can execute.<title>and<h1>.Every report metric, table, export value, numerical value, and psychometric/statistical API remains unchanged.
Reconciled lineage
cb398e3fc44033a30e7177f7d561da14d2742dc6.52c7401bdec44a7a1e6194f0336617bfc5fe6eed.528d980c1613fd6326f4c5c59effc85e80fb98b2.2eee1a30029b7dba43a8fbaae7263cac855c51d3; GREEN:05caaeaa31df17725c272fa49996354ddee2e93c.aa420295e6c4bc026ce66d4c4c5a99d763325d08; GREEN:ba18912936fe7f38c0ef3264f3b7c27ae69ce656.36e0bdd71535e56fe1329f31c2cd74d0749c64d8changes onlytests/test_report.py: it aligns the existing table-focus assertion with the modality-safe selector and adds test docstrings. No production source changed afterba189129....#1086 and #1067 are closed after their substantive focus corrections were adopted here; their bot guidance/unrelated formatting churn was not adopted. #1000 is already folded into this branch. Do not reopen or merge those predecessor/duplicate lanes independently.
Evidence boundary
Evaluate all required checks and reviews only on current exact head
36e0bdd71535e56fe1329f31c2cd74d0749c64d8against protectedmain@04d0bc21a2a20693bcf16108cd76d394fe844d23. The historical OpenCodeCHANGES_REQUESTEDreview was for52c7401b...and is predecessor-head evidence only; any still-effective gate requirement must be regenerated on this exact head. No bypass or self-approval.