You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
node: cooperative-close unilateral pre-expiry settle path for unreachable providers has no metric distinguishing timeout-shaped unreachability from RPC failure during the waiver-request phase #989
kind:featureNew capability or a change to current behaviorprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwisestatus:blockedWaits on another PR, an upstream fix or a decision
Issue #988 tracks the unilateral settle path but the implementation has no counter separating cases where the provider was genuinely unreachable (QUIC timeout) from cases where the waiver RPC succeeded but the on-chain submission failed, making it impossible for operators to determine whether cooperative-close failures are network or contract problems.
This issue identifies an observability gap in the cooperative-close flow: when the unilateral settle path (tracked by #988) attempts to close an idle buyer channel with an unreachable provider, there is no metric counter to distinguish QUIC-level timeouts from waiver RPC failures followed by a failed on-chain submission. Without this label dimension, operators cannot distinguish network problems from contract/RPC problems in monitoring dashboards or alerts.
📊 Assessment
Dimension
Value
Reasoning
Type
Feature
Observability enhancement — adds instrumentation to a future code path, not a correctness fix
Labels
enhancement, technical, rust, low, blocked
Same label set as parent #988; blocked because the implementation path this metric would instrument doesn't exist yet
Coding agent
Not suitable
The parent feature (#988) is deferred and blocked; the code path to be instrumented hasn't been written yet. Once #988 ships, adding labeled counters would be well-scoped and straightforward.
Dependency: This issue has no value until #988 is implemented. It should stay blocked until #988 is closed or at minimum has the waiver-request phase sketched out.
onchain_submit_error — waiver succeeded but closeChannel or settleChannel submission to L2 reverted or RPC-errored
Implementation pointer: When #988 is implemented, the relevant instrumentation site would be in the buyer-side sweep logic added to crates/node/src/payment_settlement.rs. The three counter labels map cleanly to the three error arms that the trigger logic in #988 §Scope already enumerates (unreachable via node_id_for, declined/reverted waiver, failed on-chain submit).
ADR reference: ADR 003 §Cooperative close is the design authority; any metric naming should be consistent with observability conventions established in appendix-observability.md.
kind:featureNew capability or a change to current behaviorprio:lowWhen convenientrustDependabot: a Cargo update; use area: labels for Rust code otherwisestatus:blockedWaits on another PR, an upstream fix or a decision
Activity
github-actions commentedon Jun 24, 2026
🎯 Triage report
This issue identifies an observability gap in the cooperative-close flow: when the unilateral settle path (tracked by #988) attempts to close an idle buyer channel with an unreachable provider, there is no metric counter to distinguish QUIC-level timeouts from waiver RPC failures followed by a failed on-chain submission. Without this label dimension, operators cannot distinguish network problems from contract/RPC problems in monitoring dashboards or alerts.
📊 Assessment
enhancement,technical,rust,low,blocked🔗 Similar issues
openChannelpath; already triaged and labeled with identical label set💡 Notes and suggestions
Dependency: This issue has no value until #988 is implemented. It should stay blocked until #988 is closed or at minimum has the waiver-request phase sketched out.
Suggested metric shape (mirrors #966's approach):
Three label values capture the three distinct failure modes the issue describes:
quic_timeout— provider unreachable at QUIC/transport layerwaiver_rpc_error— waiver request RPC failed (provider rejected or error response)onchain_submit_error— waiver succeeded butcloseChannelorsettleChannelsubmission to L2 reverted or RPC-erroredImplementation pointer: When #988 is implemented, the relevant instrumentation site would be in the buyer-side sweep logic added to
crates/node/src/payment_settlement.rs. The three counter labels map cleanly to the three error arms that the trigger logic in #988 §Scope already enumerates (unreachable vianode_id_for, declined/reverted waiver, failed on-chain submit).ADR reference: ADR 003 §Cooperative close is the design authority; any metric naming should be consistent with observability conventions established in
appendix-observability.md.Add this agentic workflows to your repo
To install this agentic workflow, run
fix(node): address PR review on buyer unilateral close (#988)
feat(node): buyer-side unilateral close→settle for unreachable provid…
refactor(node): remove dead pairwise-channel dispute/close/settle met…
refactor(node): drop PaymentPool close monitor; lean on the redeem sw…