Skip to content

docs: add Biome false positive pattern to Codacy skill guardrails#847

Merged
d-oit merged 1 commit into
mainfrom
fix/e2e-mobile-ci-failure-2026-07-24
Jul 24, 2026
Merged

docs: add Biome false positive pattern to Codacy skill guardrails#847
d-oit merged 1 commit into
mainfrom
fix/e2e-mobile-ci-failure-2026-07-24

Conversation

@d-oit

@d-oit d-oit commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

Documents the Biome useQwikValidLexicalScope false positive pattern discovered in PR #846 to prevent future Codacy CI failures.

Changes

  • agents-docs/LEARNINGS.md — Expanded Biome SolidJS entry with test file fix pattern (vi.fn() wrapper)
  • .agents/skills/codacy/SKILL.md — Added fix pattern section, Known Limitations entry, and Red Flag for bare arrow functions in test files

Context

PR #846 failed Codacy because const t = (key: string) => key; in test files triggered Biome's SolidJS-specific useQwikValidLexicalScope rule. The fix (vi.fn() wrapper) is now documented as a guardrail so agents won't repeat this pattern.

…learnings

Prevents repeat of PR #846 Codacy failure. Documents that
Biome's SolidJS useQwikValidLexicalScope rule flags bare arrow
functions at module scope in test files. Fix: use vi.fn() wrapper.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying do-epub-studio with  Cloudflare Pages  Cloudflare Pages

Latest commit: 51e0b78
Status: ✅  Deploy successful!
Preview URL: https://f3c08f62.do-epub-studio.pages.dev
Branch Preview URL: https://fix-e2e-mobile-ci-failure-20.do-epub-studio.pages.dev

View logs

@codacy-production

Copy link
Copy Markdown
Contributor

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@d-oit
d-oit merged commit 770cd46 into main Jul 24, 2026
6 checks passed
@d-oit
d-oit deleted the fix/e2e-mobile-ci-failure-2026-07-24 branch July 24, 2026 12:13
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