Repository navigation
Conversation
ymichael
force-pushed
the
bb/fix-bb-secret-request-failing-on-long-destinatio-thr_sy6ag4mbgj
branch
from
September 17, 2026 23:30
0eb83c0 to
0c6a813
Compare
ymichael
force-pushed
the
bb/fix-bb-secret-request-failing-on-long-destinatio-thr_sy6ag4mbgj
branch
from
September 17, 2026 23:45
0c6a813 to
f8de34c
Compare
ymichael
deleted the
bb/fix-bb-secret-request-failing-on-long-destinatio-thr_sy6ag4mbgj
branch
September 17, 2026 23:50
ymichael
added a commit
that referenced
this pull request
Sep 18, 2026
#3884 took the unbounded path out of the card title and let the card shell wrap it instead. The two row strings this branch adds are the same shape and were not covered: describeSubmission still built a 160 character row title around the absolute destination, and the row labels had nothing holding them under 80 as secret names accumulate. Follow the same rule. The row title names the variables and the destination moves to the detail, which has room for it, and both label halves are clamped. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
ymichael
added a commit
that referenced
this pull request
Sep 18, 2026
#3884 added a header-wrapping test against dismissal, which this branch has since renamed to origin. The merge is clean textually and only the types catch it. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Human comments
What was wrong
PR #731 changed secret request destinations to resolved absolute host paths and reused that unbounded path in the pending interaction title. Deep working directories could therefore exceed the Plugin SDK's 160-character title limit before the secure form was created.
What changed
Secret requests now use the concise
Add secretsinteraction title. The complete resolved destination remains in the typed interaction payload and is still shown in the secure form and command result. A server harness regression covers a relative dotenv destination resolved from an overlong working directory.Pending-interaction headers now add invisible line-break opportunities after
/and\\path separators. This preserves the exact visible and accessible title while preventing path-like labels from wrapping into short, ragged lines.No server/daemon wire contract changed, so
HOST_DAEMON_PROTOCOL_VERSIONis unchanged.How you verified
origin/mainfrom a 227-character working directory:bb secret request TEST_SECRET --write-env .env.localexited 1 withui.requestInput title must be 1-160 characters.pnpm exec turbo run test typecheck --filter=bb-plugin-secrets --forcepnpm exec turbo run test --filter=@bb/app --force -- src/components/plugin/PluginPendingInteractionComposer.test.tsxpnpm exec turbo run typecheck --filter=@bb/app --forcepnpm exec prettier --check plugins/secrets/src/server.ts plugins/secrets/src/server-harness.test.tsgit diff --check