Skip to content

fix: repair broken example builds (nextjs, linearlite)#4160

Merged
balegas merged 1 commit intomainfrom
vbalegas/fix-example-builds
Apr 23, 2026
Merged

fix: repair broken example builds (nextjs, linearlite)#4160
balegas merged 1 commit intomainfrom
vbalegas/fix-example-builds

Conversation

@balegas
Copy link
Copy Markdown
Contributor

@balegas balegas commented Apr 23, 2026

Summary

  • Remove examples/nextjs — outdated (React 18 + Next.js 14), uses useOptimistic which requires React 19, broken import path
  • Remove examples/remix — outdated dependencies, broken in CI
  • Fix examples/linearlite — remove stale @types/react-router-dom (v5 types package that transitively pulls @types/react@19, causing csstype version conflicts). react-router-dom@6 ships its own types.

Test plan

  • CI passes for all remaining examples
  • Verify linearlite example typechecks and builds

🤖 Generated with Claude Code

- Remove examples/nextjs and examples/remix (outdated, broken builds)
- linearlite: remove stale @types/react-router-dom (v5 types that
  transitively pull @types/react@19, causing csstype conflicts)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@balegas balegas force-pushed the vbalegas/fix-example-builds branch from 44ae2fb to 2b356e7 Compare April 23, 2026 18:26
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.08%. Comparing base (5bf1f48) to head (2b356e7).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4160   +/-   ##
=======================================
  Coverage   68.08%   68.08%           
=======================================
  Files         130      130           
  Lines       16211    16211           
  Branches     3907     3912    +5     
=======================================
  Hits        11037    11037           
  Misses       5170     5170           
  Partials        4        4           
Flag Coverage Δ
packages/agents 38.39% <ø> (ø)
packages/agents-runtime 81.34% <ø> (ø)
packages/agents-server 65.55% <ø> (ø)
packages/agents-server-ui 0.00% <ø> (ø)
packages/electric-ax 30.46% <ø> (ø)
packages/experimental 87.73% <ø> (ø)
packages/react-hooks 86.48% <ø> (ø)
packages/start 82.83% <ø> (ø)
packages/typescript-client 94.30% <ø> (ø)
packages/y-electric 56.05% <ø> (ø)
typescript 68.08% <ø> (ø)
unit-tests 68.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@balegas balegas merged commit 3cef0ca into main Apr 23, 2026
50 checks passed
@balegas balegas deleted the vbalegas/fix-example-builds branch April 23, 2026 18:51
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