Preserve not-found identity for native tool callers #85

Open
opened 2026-08-13 21:55:33 +00:00 by PerishFire · 0 comments
Owner

Plumb stable prepare probes branch protection and creates it when the show operation is not found. Through the Runseal adaptor, Forgejo HTTP 404 is normalized to The target could not be found, so Plumb cannot distinguish the expected missing resource from another failure. This surfaced while preparing v0.16.5/v0.16.6; delivery used the equivalent native protection create then branch create operations. Preserve a structured not-found identity (or an HTTP status marker at the library boundary) without exposing credentials or weakening the CLI error.

Plumb stable prepare probes branch protection and creates it when the show operation is not found. Through the Runseal adaptor, Forgejo HTTP 404 is normalized to `The target could not be found`, so Plumb cannot distinguish the expected missing resource from another failure. This surfaced while preparing v0.16.5/v0.16.6; delivery used the equivalent native `protection create` then `branch create` operations. Preserve a structured not-found identity (or an HTTP status marker at the library boundary) without exposing credentials or weakening the CLI error.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
PerishFire/runseal#85
No description provided.