Skip to content

Conversation

chris-olszewski
Copy link
Contributor

@chris-olszewski chris-olszewski commented Jun 11, 2025

Reenable test disabled in #13436

According to git bisect #13226 broke this behavior. Unsure of how the passed on CI/up until recently as it was definitely broken.

It looks like the AbortController prevented the process from exiting.

Copy link

changeset-bot bot commented Jun 11, 2025

🦋 Changeset detected

Latest commit: c401ae8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
vercel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment on lines +136 to +137
clearTimeout(timeout);
controller.abort();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always clean up oidc refresh even if dev server has an error

envValues[VERCEL_OIDC_TOKEN] = token;
await devServer.runDevCommand(true);
telemetry.trackOidcTokenRefresh(++refreshCount);
try {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Required to ensure an error from the dev server is surfaced to the user and not an AbortError

@chris-olszewski chris-olszewski marked this pull request as ready for review June 11, 2025 02:38
@chris-olszewski chris-olszewski requested a review from a team as a code owner June 11, 2025 02:38
trek
trek previously approved these changes Jun 11, 2025
Copy link
Contributor

@trek trek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but let's give @markandrus time to chime in.

@chris-olszewski chris-olszewski added this pull request to the merge queue Jun 11, 2025
Merged via the queue into main with commit cff32d9 Jun 11, 2025
295 of 297 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_vercel_dev_exit branch June 11, 2025 15:03
github-merge-queue bot pushed a commit that referenced this pull request Jun 13, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## vercel@43.1.0

### Minor Changes

- Add blob subcommand
([#13364](#13364))

    These are the new API's:
`vc blob store add mystore` - creates a new blob store, asks to connect
store to project and suggests pulling the new env var
    `vc blob store rm store_mystoreid` - delete a blob store

All of the following commands will try to read the
`BLOB_READ_WRITE_TOKEN` from the next `.env.local` file:
`vc blob put file.txt` - uploads the file from the path to the blob
store
    `vc blob ls` - list blobs in the store
    `vc blob del path/ path2/` - delete blobs from the store
    `vc blob copy fromUrl toPathname` - copies a file within the store

### Patch Changes

- Fix bug where `vercel dev` would not exit on error
([#13438](#13438))

## @vercel/functions@2.2.0

### Minor Changes

- Introduce `getVercelOidcTokenSync`
([#13429](#13429))

## @vercel/client@15.3.5

### Patch Changes

- Updated dependencies
\[[`b5fed7cca786d93b7c88af275ce1dca5e5b59098`](b5fed7c)]:
    -   @vercel/routing-utils@5.0.7

## @vercel/fs-detectors@5.4.4

### Patch Changes

- Updated dependencies
\[[`b5fed7cca786d93b7c88af275ce1dca5e5b59098`](b5fed7c)]:
    -   @vercel/routing-utils@5.0.7

## @vercel/routing-utils@5.0.7

### Patch Changes

- Fixed TS literal type inference for compatibility with
json-schema-to-ts
([#13446](#13446))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
QuietCraftsmanship pushed a commit to QuietCraftsmanship/Vercel that referenced this pull request Jul 6, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## vercel@43.1.0

### Minor Changes

- Add blob subcommand
([#13364](vercel/vercel#13364))

    These are the new API's:
`vc blob store add mystore` - creates a new blob store, asks to connect
store to project and suggests pulling the new env var
    `vc blob store rm store_mystoreid` - delete a blob store

All of the following commands will try to read the
`BLOB_READ_WRITE_TOKEN` from the next `.env.local` file:
`vc blob put file.txt` - uploads the file from the path to the blob
store
    `vc blob ls` - list blobs in the store
    `vc blob del path/ path2/` - delete blobs from the store
    `vc blob copy fromUrl toPathname` - copies a file within the store

### Patch Changes

- Fix bug where `vercel dev` would not exit on error
([#13438](vercel/vercel#13438))

## @vercel/functions@2.2.0

### Minor Changes

- Introduce `getVercelOidcTokenSync`
([#13429](vercel/vercel#13429))

## @vercel/client@15.3.5

### Patch Changes

- Updated dependencies
\[[`7462ba8a07c07bb8ce426e13ad539b32b58c07ff`](vercel/vercel@7462ba8)]:
    -   @vercel/routing-utils@5.0.7

## @vercel/fs-detectors@5.4.4

### Patch Changes

- Updated dependencies
\[[`7462ba8a07c07bb8ce426e13ad539b32b58c07ff`](vercel/vercel@7462ba8)]:
    -   @vercel/routing-utils@5.0.7

## @vercel/routing-utils@5.0.7

### Patch Changes

- Fixed TS literal type inference for compatibility with
json-schema-to-ts
([#13446](vercel/vercel#13446))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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