Skip to content

chore: fix type error, upgrade turbo, suppress warnings#908

Merged
sirtimid merged 4 commits intomainfrom
sirtimid/fix-kernel-ui-panel-context-type-error
Mar 31, 2026
Merged

chore: fix type error, upgrade turbo, suppress warnings#908
sirtimid merged 4 commits intomainfrom
sirtimid/fix-kernel-ui-panel-context-type-error

Conversation

@sirtimid
Copy link
Copy Markdown
Contributor

@sirtimid sirtimid commented Mar 31, 2026

Summary

  • Fix TS2322 type error in kernel-ui PanelContext pending request queue
  • Upgrade Turborepo to latest
  • Suppress YN0002 peer dependency warnings in .yarnrc.yml
  • Add @vite-ignore to runtime-resolved worker URLs in extension and omnium-gatherum

Test plan

  • yarn installs without peer dep warnings
  • Build completes without Vite kernel-worker.js warnings
  • CI passes

🤖 Generated with Claude Code


Note

Medium Risk
Mostly build-tooling upgrades, but the Turborepo bump and schema change can alter task execution/caching behavior and should be validated in CI/builds.

Overview
Build/tooling maintenance: upgrades turbo from ^2.5.6 to ^2.9.1 across the repo, updates turbo.json to the v2-9-1 schema, and refreshes yarn.lock to use the new @turbo/* platform packages.

Warning/type cleanups: suppresses Yarn peer-dependency warning YN0002 in .yarnrc.yml, adds /* @vite-ignore */ to runtime-constructed new URL('kernel-worker.js', import.meta.url) in extension and omnium-gatherum offscreen workers to silence Vite warnings, and fixes a kernel-ui PanelContext pending-request promise resolve typing issue via an explicit cast.

Written by Cursor Bugbot for commit fb04276. This will update automatically on new commits. Configure here.

…uest queue

The generic `CallKernelMethod` type caused a contravariance mismatch between
the Promise resolve callback and the pending request queue's resolve type.
Cast resolve at the push site to bridge the generic/union type gap.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sirtimid sirtimid requested a review from a team as a code owner March 31, 2026 12:08
@sirtimid sirtimid enabled auto-merge March 31, 2026 12:09
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 31, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 78.15%
🟰 ±0%
8218 / 10515
🔵 Statements 77.96%
🟰 ±0%
8351 / 10711
🔵 Functions 75.54%
🟰 ±0%
1937 / 2564
🔵 Branches 76.59%
🟰 ±0%
3482 / 4546
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/extension/src/offscreen.ts 0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
19-104
packages/kernel-ui/src/context/PanelContext.tsx 91.3%
🟰 ±0%
88.88%
🟰 ±0%
88.88%
🟰 ±0%
91.11%
🟰 ±0%
75, 109-111
packages/omnium-gatherum/src/offscreen.ts 0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
0%
🟰 ±0%
20-124
Generated in workflow #4130 for commit fb04276 by the Vitest Coverage Report Action

Upgrade Turborepo, suppress YN0002 peer dependency warnings in
.yarnrc.yml, and add @vite-ignore to runtime-resolved worker URLs
in extension and omnium-gatherum.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sirtimid sirtimid changed the title fix(kernel-ui): resolve TS2322 type error in PanelContext chore: fix type error, upgrade turbo, suppress warnings Mar 31, 2026
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 31, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedturbo@​2.5.6 ⏵ 2.9.1100 +110085 -197 +1100

View full report

sirtimid and others added 2 commits March 31, 2026 18:21
The turbo upgrade to ^2.9.1 in 027ae15 only updated the root
package.json. Yarn constraints enforce synchronized versions, so
CI fails on `yarn lint`. Sync all 26 workspace package.json files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sirtimid sirtimid added this pull request to the merge queue Mar 31, 2026
Merged via the queue into main with commit 0699759 Mar 31, 2026
32 checks passed
@sirtimid sirtimid deleted the sirtimid/fix-kernel-ui-panel-context-type-error branch March 31, 2026 22:53
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