Skip to content

fix(provider/azure): large fixture test instability#13483

Merged
felixarntz merged 3 commits intomainfrom
fix/azure-node24-test-instability
Mar 16, 2026
Merged

fix(provider/azure): large fixture test instability#13483
felixarntz merged 3 commits intomainfrom
fix/azure-node24-test-instability

Conversation

@felixarntz
Copy link
Copy Markdown
Collaborator

@felixarntz felixarntz commented Mar 16, 2026

Background

The base64 data in question includes a several MB sized image. This can lead to parsing being slow, leading to intermittent failures completely unrelated to the changes made (see e.g. https://github.com/vercel/ai/actions/runs/23155408928/job/67274515942?pr=13482 or https://github.com/vercel/ai/actions/runs/23155646090/job/67275349940?pr=13481).

Summary

  • Increases timeout for the test to 6s (since it always exceeded 5s only slightly)
  • No changeset included because it's a test-only change

Manual Verification

N/A

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Future Work

N/A

Related Issues

#13358

@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label maintenance CI, internal documentation, automations, etc provider/azure Issues related to the @ai-sdk/azure provider labels Mar 16, 2026
@felixarntz felixarntz marked this pull request as ready for review March 16, 2026 17:49
@felixarntz felixarntz changed the title fix(provider/azure): Node 24 test instability fix(provider/azure): large fixture test instability Mar 16, 2026
@felixarntz felixarntz added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Mar 16, 2026
@felixarntz felixarntz merged commit 0d621aa into main Mar 16, 2026
20 checks passed
@felixarntz felixarntz deleted the fix/azure-node24-test-instability branch March 16, 2026 17:55
vercel-ai-sdk bot pushed a commit that referenced this pull request Mar 16, 2026
@vercel-ai-sdk vercel-ai-sdk bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Mar 16, 2026
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Mar 16, 2026

⚠️ Backport to release-v6.0 created but has conflicts: #13485

gr2m added a commit that referenced this pull request Mar 16, 2026
gr2m added a commit that referenced this pull request Mar 16, 2026
…#13489)

## Background

PR #13483 added a 6s timeout to the `should stream image generation tool
results include` test because the large fixture (6.9MB of base64 image
data) caused it to exceed the default 5s timeout in CI.

PR #13486 fixed the root cause by replacing the large image with a
minimal 1x1 pixel PNG, reducing the fixture from 6.9MB to 12.6KB. The
test now runs in ~2ms locally, so the extended timeout is no longer
needed.

## Summary

Reverts #13483 to remove the 6s timeout and restore the original test
structure.

## Related Issues

- Reverts #13483
- Follow-up to #13486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label maintenance CI, internal documentation, automations, etc provider/azure Issues related to the @ai-sdk/azure provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants