Skip to content

refactor: improve keyring support reliability and reduce duplication#831

Open
EhabY wants to merge 1 commit intomainfrom
refactor/keyring-improvements
Open

refactor: improve keyring support reliability and reduce duplication#831
EhabY wants to merge 1 commit 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
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.

1 participant