Skip to content

chore(ui): keep knip off the Playwright output directory - #7400

Merged
gustavosbarreto merged 1 commit into
masterfrom
chore/knip-playwright-output
Oct 8, 2026
Merged

gustavosbarreto merged 1 commit into
masterfrom
chore/knip-playwright-output

Conversation

@otavio

@otavio otavio commented Oct 8, 2026

Copy link
Copy Markdown
Member

Summary

A Playwright run that fails writes its HTML report under ui/apps/console/e2e/tmp, and the report bundles the trace viewer's .js and .css files. knip then lists those files as unused, and the React lint Stop hook refuses to end the turn until they are deleted. The directory is gitignored output, so knip ignores it too.

 "apps/console": {
   "entry": ["src/migrate.tsx", "playwright.config.ts"],
-  "ignore": ["src/client/**"],
+  "ignore": ["src/client/**", "e2e/tmp/**"],

Split out of #7390, where it was outside the PR's scope.

Evidence

  • Before: after a failed ui/scripts/e2e.sh test run, knip reports the report's e2e/tmp/**/*.js and *.css files as unused.
  • After: knip skips e2e/tmp. A clean checkout has no such directory, so CI's knip result does not change.

Merge Danger

Door: two-way

Blast Radius: tooling

knip config only. No code ships.

A Playwright run that fails writes its HTML report, trace viewer bundle included, under
apps/console/e2e/tmp. knip then lists those .js and .css files as unused, and the React lint Stop
hook refuses to end the turn until they are gone. The directory is gitignored output, so ignore it
for knip too.
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Claude finished @otavio's task in 56s —— View job


Code Review Complete

Reviewed 1 file on two axes: Standards (repo rules, language conventions, tests, code smells) and Correctness (security and runtime defects). No new issues found. The code looks good as-is.

The Spec axis did not run because the PR references no issue to review against.

@gustavosbarreto
gustavosbarreto merged commit 58041f4 into master Oct 8, 2026
26 checks passed
@gustavosbarreto
gustavosbarreto deleted the chore/knip-playwright-output branch October 8, 2026 17:40
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.

2 participants