bws secret engine hides its failure and caches it for the process lifetime #1467

Closed
opened 2026-10-27 13:40:30 +00:00 by sam · 0 comments
Owner

archipelago secret-engines/bws discards the CLI's stderr, so every failure reads 'list bws secrets: exit status 1', and sync.Once keeps the first error until the service restarts, so fixing the cause does not recover. Done when the error names the CLI's reason and a failed list is retried on the next resolve.

Notes

2026-10-27: no bws engine in this repo. internal/secret has only the Engine interface and env engine; 'bws' appears only in flag help text (internal/app/archied/setup.go:83-85) and tests. The CLI-wrapping engine and its sync.Once live in the archipelago repo (secret-engines/bws), so the fix and its test belong there. No change made here.

Close reason

Fixed in archipelago 1c4ec39


Imported from beads archie-core-n8jp · GitHub #1568 · type bug · priority P2 · created 2026-10-07 · closed 2026-10-27

archipelago secret-engines/bws discards the CLI's stderr, so every failure reads 'list bws secrets: exit status 1', and sync.Once keeps the first error until the service restarts, so fixing the cause does not recover. Done when the error names the CLI's reason and a failed list is retried on the next resolve. ### Notes 2026-10-27: no bws engine in this repo. internal/secret has only the Engine interface and env engine; 'bws' appears only in flag help text (internal/app/archied/setup.go:83-85) and tests. The CLI-wrapping engine and its sync.Once live in the archipelago repo (secret-engines/bws), so the fix and its test belong there. No change made here. ### Close reason Fixed in archipelago 1c4ec39 --- _Imported from beads `archie-core-n8jp` · GitHub #1568 · type bug · priority P2 · created 2026-10-07 · closed 2026-10-27_
sam added the mediumbug labels 2026-10-27 13:40:31 +00:00
sam self-assigned this 2026-10-27 13:40:31 +00:00
sam closed this issue 2026-10-27 13:40:31 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1467