Repository navigation
Conversation
…y picker - When `bgagent linear setup` moves a workspace onto the Identity vault it keeps the existing Secrets Manager token. If that token's access token has already expired, setup now says the fallback is unverified (refresh tokens expire when unused and cannot be checked without rotating) instead of printing "Kept the existing Secrets Manager token as a fallback". Seen live: a token dead since 2026-08-27 was reported as a working fallback. - The self-link and teammate pickers re-ask on an empty or invalid answer (up to 3 times). A pasted session id that ends in a newline, followed by Enter, left a stray empty line that silently skipped the self-link.
isadeks
force-pushed
the
fix/996-linear-setup-fallback-and-picker
branch
from
November 5, 2026 14:37
e91981e to
1fbfad4
Compare
5 tasks done
4 of 5 tasks
Contributor
Author
|
Superseded by #1067, which carries this change (its commits are kept as they were, followed by one commit that adapts the combined set to current main). Closing to keep one place for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #996.
bgagent linear setupmoves a workspace onto the Identity vault and keeps the existing Secrets Manager token, it now reports the fallback as unverified if the kept access token has already expired. Before, it always printed "✓ Kept … as a fallback". A refresh token can't be checked without rotating it, so the message says exactly that. The logic lives indescribePreservedFallbackinlinear-oauth.ts.promptChoice, which re-asks on an empty or invalid answer, up to 3 times. A pasted session id ending in a newline, followed by Enter, used to deliver an empty answer to the picker and silently skip the self-link.Tests
describePreservedFallbackfor expired and live tokens;promptChoicere-asking after a stray empty line, on out-of-range and non-numeric answers, and giving up after the attempt budget.