Skip to content

fix: preserve reduced motion with targeted CSS rules - #60

Draft
anchildress1 wants to merge 2 commits into
mainfrom
fix/sonar-20261024
Draft

anchildress1 wants to merge 2 commits into
mainfrom
fix/sonar-20261024

Conversation

@anchildress1

@anchildress1 anchildress1 commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Replace four blanket reduced-motion !important overrides with targeted component rules, preserving the static reduced-motion state. Replace two transition: all declarations with the properties that actually change. Add a browser regression for reduced motion.

Initial main inventory: six findings, four addressed by this PR and two retained sequential-await candidates. The exact PR scan also surfaced two new CSS S9449 findings; both are addressed separately from the initial count.

The retained retry await in src/server/queue.ts enforces dependent attempts and 250/500ms backoff. Success or definitive refusal must prevent later attempts; concurrent retries would violate that contract. The retained redraw await in src/server/rerender.ts accepts an unbounded list, including duplicate slugs, and completes each synchronous PNG render plus ordered PNG/payload publication before starting another target. Promise.all would change fail-fast behavior, retain concurrent image buffers, and permit duplicate-slug writes to interleave. The four-connection Snowflake pool does not bound outstanding uploads. Recursion or promise reduction would merely disguise the same sequential work, so neither finding was suppressed or marked resolved.

Validation on final signed head 5fc1872250d761e8bcc038b8f80ce37f23ddb066: make ai-checks passed formatting, lint, typecheck, build and 316 tests with 96.57% line coverage; all nine Playwright tests passed. Normal commit/push hooks and signature verification passed. Exact-head Sonar PR analysis reports zero findings and quality gate OK; Semgrep passed. CI and CodeQL intentionally skip draft PRs under the existing workflow policy; local aggregate/browser verification completed.

Main remains unchanged until merge and reanalysis. Zero PR findings does not mean main is zero. No exclusions, suppressions, issue-status changes, or draft-policy changes were used.

Generated-by: Codex <noreply@openai.com>
Signed-off-by: Ashley Childress <anchildress1@gmail.com>
Generated-by: Codex <noreply@openai.com>
Signed-off-by: Ashley Childress <anchildress1@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

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