aglinxinyuan commented on PR #6175:
URL: https://github.com/apache/texera/pull/6175#issuecomment-4888232928

   The `build / agent-service` failure is the AI-SDK version coupling — the 
Vercel packages are locked together by provider spec, so bumping 
`@ai-sdk/openai` 3.0.73 → 4.0.7 (provider spec v4) while `ai` stays at 6.0.208 
(provider spec v3) breaks two ways: the license check trips on the direct-dep 
drift plus the new transitive `@workflow/[email protected]`, and once the install is 
fixed `tsc` fails on `LanguageModelV4` vs `LanguageModelV3`.
   
   The fix is to bump `ai` in lockstep — no source changes needed:
   - `ai` 6.0.208 → 7.0.15 (pairs with `@ai-sdk/openai@4` → 
`@ai-sdk/[email protected]` / `@ai-sdk/[email protected]`)
   - regenerate `agent-service/bun.lock` (bun 1.3.3) — dedupes 
`@ai-sdk/provider` to 4.0.2 and drops the now-unused `@opentelemetry/api`
   - sync `agent-service/LICENSE-binary` — bump the ai-sdk versions, add 
`@workflow/[email protected]` (Apache-2.0), remove stale `@opentelemetry/[email protected]`
   
   Verified locally with bun 1.3.3 (matching CI) — the full `agent-service` leg 
is green:
   
   | step | result |
   | --- | --- |
   | `bun install --production --frozen-lockfile` | 57 packages |
   | license check — PR (`--ignore-transitive-version`) + strict | both pass |
   | `bun install --frozen-lockfile` | no changes |
   | `format:check` | pass |
   | `typecheck` | 0 errors |
   | `bun test` | 115 pass, 0 fail |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to