feat: allow never-expiring workspace tokens - #689
Conversation
POST /v1/tokens accepts ttlSeconds: null. The developers page offers No expiry. Login still defaults to 90 days. Closes #688.
🦋 Changeset detectedLatest commit: b2504c9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (2)
🚫 Excluded labels (none allowed) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| 🔵 In progress View logs |
uploads-auth | 06749b4 | Aug 17 2026, 10:20 PM |
The links card duplicated docs already in the CLI setup. Footer "Source" is the repo link — call it GitHub.
In plain terms
CI and scripts often want a workspace token that lives until someone revokes it. After #686 the developers page could only mint 90 days or 1 year. This adds a no-expiry option.
What it does / what it is not
POST /v1/tokensacceptsttlSeconds: nulland writesexpires_atas null./account/developersoffers No expiry next to 90 days and 1 year.ttlSecondsstill means 90 days.uploads loginis unchanged.Fixes #688.
How to try it
After API + web deploy (or a local stack on
.localhost):/account/developers.The list row should say
no expiry.Technical notes
Storage and
workspaceAuthalready treated a nullexpires_atas never-expiring. Only the public mint path refused it.Test plan
ttlSeconds: nulland rejected0/account/developersafter deploy