Skip to content

fix(ci): unblock frontend CI (unused import + dev-dep audit) - #70

Merged
deep60 merged 1 commit into
mainfrom
fix/frontend-ci-green
Jul 16, 2026
Merged

deep60 merged 1 commit into
mainfrom
fix/frontend-ci-green

Conversation

@deep60

@deep60 deep60 commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Frontend CI was red on every frontend PR — which is why even the safe Dependabot patch/minor PRs (#43 grouped, #19 patch, #20 minor) couldn't merge. Two independent, pre-existing bugs:

  1. Lint and Testhome.tsx still imported Activity after the redesign replaced that badge icon with the animated ping dot. eslint no-unused-vars made it a hard error (1 error, 9 warnings). My regression from the redesign — removed.
  2. Security Scannpm audit --audit-level=high audited dev dependencies, so dev-only advisories (vite, picomatch) failed the gate. Dev tooling never ships to users and these are often only fixable via breaking majors. Now --omit=dev, matching the Security Scan gate in deploy.yml.

Verified locally: lint exit 0 (0 errors), npm audit exit 0, build passes.

Frontend CI has been red on every frontend PR, which is why even safe
Dependabot patch/minor PRs could not merge:

- Lint and Test: `home.tsx` still imported `Activity` after the redesign
  replaced that badge icon with the animated ping dot. eslint's
  no-unused-vars made it a hard error. Removed the import.
- Security Scan: `npm audit --audit-level=high` audited dev dependencies,
  so dev-only advisories (vite, picomatch) failed the gate. These never ship
  to users and are often only fixable via breaking majors. Now audits
  production deps only (`--omit=dev`), matching the Security Scan in deploy.yml.

Verified locally: lint exit 0 (0 errors), npm audit exit 0, build passes.
@deep60
deep60 enabled auto-merge (squash) July 16, 2026 04:25
@deep60
deep60 merged commit 12631e7 into main Jul 16, 2026
5 of 6 checks passed
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