Skip to content

[WIP] Fix all CI build and test errors#1046

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/fix-ci-build-and-test-errors-please-work
Draft

[WIP] Fix all CI build and test errors#1046
Copilot wants to merge 3 commits intomainfrom
copilot/fix-ci-build-and-test-errors-please-work

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 1, 2026

  • Investigate CI build and test failures
  • Identify root cause: pnpm-lock.yaml is out of date with apps/studio/package.json (missing @objectstack/service-ai@workspace:*)
  • Identify secondary issue: @objectstack/service-ai#test failures in earlier CI run
  • Fix: Regenerate pnpm-lock.yaml by running pnpm install (blocked - pnpm not available in sandbox)
  • Fix: Investigate and fix service-ai test failures
  • Verify all CI workflows pass

Root Cause Analysis

Primary blocker (affects ALL CI workflows on main):
apps/studio/package.json has @objectstack/service-ai@workspace:* as a dependency, but pnpm-lock.yaml was never updated to include this entry in the apps/studio section (line 128-230). This causes ERR_PNPM_OUTDATED_LOCKFILE on every CI run with --frozen-lockfile.

Fix: Run pnpm install locally to regenerate the lockfile, then commit the updated pnpm-lock.yaml.

Secondary issue (pre-existing):
@objectstack/service-ai#test was failing in CI run 23842893933 (prior to the lockfile issue). The turbo output interleaving prevented extracting the specific test failure details from CI logs.

Original prompt

fix all ci build and test errors

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Building Building Preview, Comment Apr 1, 2026 0:49am
spec Building Building Preview, Comment Apr 1, 2026 0:49am

Request Review

@hotlong
Copy link
Copy Markdown
Contributor

hotlong commented Apr 1, 2026

@copilot 继续

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Apr 1, 2026

@copilot 继续

Fixed both CI issues:

  1. pnpm-lock.yaml out of date — Regenerated lockfile to include @objectstack/service-ai@workspace:* for apps/studio (commit 8864d6c).

  2. vercel-stream-encoder test failures — Tests were expecting old v5 Vercel Data Stream Protocol format (0:"text"\n) but the encoder was upgraded to v6 SSE UI Message Stream Protocol (data: {"type":"text-delta",...}\n\n). Updated all tests to match the current implementation (commit 67a6b2a).

Full build (43/43 tasks) and all tests pass locally.

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