Skip to content

fix(ci): update deps to latest and resolve all pipeline failures - #453

Open
elcoosp wants to merge 71 commits into
mainfrom
feat/super-codeblock
Open

elcoosp wants to merge 71 commits into
mainfrom
feat/super-codeblock

Conversation

@elcoosp

@elcoosp elcoosp commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Summary

The feat/super-codeblock branch had never run CI and, when set up, failed every job. This PR updates all dependencies to latest and resolves every resulting error so the pipeline is green end-to-end.

What changed

CI workflows (.github/workflows/*)

  • ci.yml / docs.yml / marketing-assets.yml: pin pnpm 12, latest actions (checkout@v7, setup-node@v7, pnpm/action-setup@v6), fixed docs.yml cache path to the root pnpm-lock.yaml.

Frontend

  • All dependencies bumped to latest: typescript 7, vitest 5, vite 8.3, biome 2.5.x, @lingui 6.6, framer-motion 13, etc. Lockfile regenerated + validated (--frozen-lockfile ok).
  • vitest 4 → 5: restored substring locator matching via browser.locators.exact: false (vitest 5 changed the default to true, which broke 10 browser tests).
  • biome.json migrated to schema 2.5.13; 72 lint errors fixed across ~40 files, including two real bugs in code-block.tsx (missing clearMatches prop on a child component + a temporal-dead-zone crash) and a CSS specificity bug in App.css.
  • pnpm lint, ✅ pnpm test (572/572).

Rust (src-tauri)

  • cargo update cleared all RUSTSEC vulnerabilities — cargo audit now reports 0 found (was 12).
  • cargo fmt normalized formatting across 3 files.
  • cargo clippy -- -D warnings now passes: fixed dead-code debt (WIP scaffolding), collapsible if chains, deprecated ollama_rs::Ollama::new → builder API, implied trait bounds, redundant match guard, and unread fields.
  • cargo fmt --check, ✅ cargo clippy -D warnings, ✅ cargo nextest run.

Typecheck note

pnpm check (tsc) is continue-on-error: true in this repo. It still reports ~88 pre-existing errors — verified zero new regressions from this PR (same count with these changes stashed).

Verification

  • pnpm lint
  • pnpm test (572 pass)
  • pnpm check (no new errors)
  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo nextest run
  • cargo audit (0 vulnerabilities)

elcoosp added 30 commits April 12, 2026 19:57
Fix useToolApprovals subscriber never running; 6 test files added
Task 5.1 — writes 55 Vitest browser tests across:
- tool-result-bubble, artifact-card, branch-nav, suggested-prompts
- pinned-bar, subagent-card, tool-approval-card, heading
- thinking-view, code-block (super-codeblock API)

8 of 10 components reach ≥83% line coverage.
code-block remains at 31% due to large component size.
queue-edit-form, queue-header, queue-item, queue-list,
queue-pause-indicator, queue-selection-toolbar: 27 tests covering
render by mode, selection toggle, edit submission, pause indicator.
Track components layer in docs/reports/coverage.md.
- CI workflows: pnpm 12, latest actions, docs cache path fix
- All Node deps bumped to latest (biome 2.5.x, vitest 5, vite 8, TS 7)
- vitest 5: restore substring locator matching via browser.locators.exact
- Fix 72 biome errors (incl. real bugs in code-block, tdZ reorder)
- cargo update: clear all RUSTSEC vulnerabilities (audit: 0 found)
- cargo fmt + clippy -D warnings clean (dead-code, collapsible-if, etc.)
- 572/572 vitest tests and cargo nextest pass
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