Skip to content

refactor: improve keyring support reliability and reduce duplication#831

Merged
EhabY merged 2 commits intomainfrom
refactor/keyring-improvements
Mar 11, 2026
Merged

refactor: improve keyring support reliability and reduce duplication#831
EhabY merged 2 commits intomainfrom
refactor/keyring-improvements

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Mar 9, 2026

  • Separate keyringTokenRead (>= 2.31) from keyringAuth (>= 2.29) feature flags
  • Combine duplicate resolveKeyringBinary/resolveReadTokenBinary with explicit feature param
  • Extract tempFilePath() utility with crypto.randomUUID, replacing 4 inline patterns
  • Add withProgress() wrapper, adopt in commands.ts and promptUtils.ts
  • Type-safe circular dependency guard in ServiceContainer via ref object
  • Fix stubExecFileAbortable to handle non-pre-aborted signals
  • Replace regex test matchers with structural assertions

- Separate keyringTokenRead (>= 2.31) from keyringAuth (>= 2.29) feature flags
- Combine duplicate resolveKeyringBinary/resolveReadTokenBinary with explicit feature param
- Extract tempFilePath() utility with crypto.randomUUID, replacing 4 inline patterns
- Add withProgress() wrapper, adopt in commands.ts and promptUtils.ts
- Type-safe circular dependency guard in ServiceContainer via ref object
- Fix stubExecFileAbortable to handle non-pre-aborted signals
- Replace regex test matchers with structural assertions
@EhabY EhabY self-assigned this Mar 9, 2026
@EhabY EhabY merged commit 26e8363 into main Mar 11, 2026
6 checks passed
@EhabY EhabY deleted the refactor/keyring-improvements branch March 11, 2026 11:58
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