Imported conditions: a permanently Unavailable/Denied mapping blocks removals for the whole connection indefinitely #933
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A4 review (docs/plans/evidence/grpc-data-ext/A4.md):
ProjectedConditionAccess.Runner.csholds conditions another mapping drops as BadNoCommunication while any mapping on the connection is unknown (unknown = states.Any(!Known)). This is T2-safe for a retry window, but since A4 keeps a Denied mapping in-stream (retried every 5–20 min) the state is durable: retired alarms linger stale indefinitely. Options: scope the unknown check to mappings whose placements could list the key, or time-box the hold and then remove with RefreshRequired. Add a troubleshooting row to docs/DataConnections.md.Fixed on master (merge of
fu-consumer-933). A key held only because a mapping on the connection is unknown is kept indefinitely while that mapping is only temporarily unknown (Pending/Unavailable/retrying — consistent with a connection whose stream never opens); once the mapping is DEFINITIVELY refused (Denied/NotFound/Unsupported/ConditionCapacity) its held keys are removed afterMaxUnknownHold(20 min) via removal + RefreshRequired (never known-inactive). The hold clock runs only while a stream is past its barrier (pauses across outages). Scoping by root was rejected as unprovable (an origin deploy can move a condition under another root). Troubleshooting row in docs/DataConnections.md. Evidence: docs/plans/evidence/grpc-data-ext/A4.md "Follow-ups #933/#934/#936" + review round 1.