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
fleet gh: read-only identity fallback for GraphQL 'Could not resolve to a node' on board reads #12154
Follow-up from PR #12126 (Codex P2 on collect-fleet-feed.ts). is_read_call() in pkgs/fleet/crates/fleet/src/gh.rs (~line 296) classifies any gh api call containing -f/-F as a write, so GraphQL board reads never reach the owner-specific App identity fallback. classify_failure() also does not recognise the hidden-node error (Could not resolve to a node) as a permission refusal. Related: #9062, #9060.
Codex review on PR #12409 answered — the one open thread is fixed and resolved.
Finding (P1): node-resolution errors must not authorize write retries — a batched mutation could replay and duplicate an already-created comment.
Fix (commit 178dcde, branch xaltha/fleet-gh-hidden-node): new FailureClass::NodeResolution in pkgs/fleet/crates/fleet/src/gh.rs — classify_failure returns it for "Could not resolve to a node" instead of Permission, and may_retry repeats it only for read-only calls. Deliberately no "whole write was refused" path: the error text alone cannot prove no earlier field executed. New fake-gh end-to-end test write_not_repeated_on_node_resolution_failure proves a batched addComment + node-reference mutation is attempted exactly once, while the same failure on a read still fails over.
Verification:cargo test -p fleet --bin fleet gh:: on the laptop — 18 passed. Thread replied to and resolved. PR is mergeable at the new head; CI on the new head had not reported the main suite yet at check time, so that is the remaining item before merge. Nothing merged.
Activity
developing-today commentedon Nov 21, 2026
CODE-4413
fix(fleet): treat any GraphQL document with a mutation as a write
dezren39 commentedon Nov 22, 2026
Codex review on PR #12409 answered — the one open thread is fixed and resolved.
Finding (P1): node-resolution errors must not authorize write retries — a batched mutation could replay and duplicate an already-created comment.
Fix (commit 178dcde, branch xaltha/fleet-gh-hidden-node): new
FailureClass::NodeResolutioninpkgs/fleet/crates/fleet/src/gh.rs—classify_failurereturns it for "Could not resolve to a node" instead ofPermission, andmay_retryrepeats it only for read-only calls. Deliberately no "whole write was refused" path: the error text alone cannot prove no earlier field executed. New fake-ghend-to-end testwrite_not_repeated_on_node_resolution_failureproves a batchedaddComment+ node-reference mutation is attempted exactly once, while the same failure on a read still fails over.Verification:
cargo test -p fleet --bin fleet gh::on the laptop — 18 passed. Thread replied to and resolved. PR is mergeable at the new head; CI on the new head had not reported the main suite yet at check time, so that is the remaining item before merge. Nothing merged.