Repository navigation
fix(loop): a board write that fails must not stop the dispatch - #75
Merged
Merged
Conversation
The first live dispatch planned correctly and then died on `setStatus`: `projectV2(number: 2)` returns null, with no GraphQL error, when the token cannot see the organization's project. The labels were already written and the fire never happened. Projects calls now throw `BoardUnreachable`, naming the permission to grant. `apply` catches it, logs it, finishes the plan — so the run still fires — and journals one `board-unreachable` anomaly. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This was referenced Sep 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first live dispatch, on claude-workflow#72, planned exactly right:
projectV2(number: 2)returnsnullwith no GraphQL error when the token cannot see the organization's project. A permission answer dressed as data. The labels had already been written, the job failed at Status, and the fire never happened — the one part of the run that matters.The fix
BoardUnreachable, whose message names the permission to grant.applycatches it, logs it, and finishes the plan, so the dispatch still fires. Oneboard-unreachableanomaly goes in the day's journal.docs/why.md#the-board-is-a-lens-so-it-may-fail-alone. A stale board is cosmetic. A dispatch that never fired is work that silently does not happen.projects.mjs, which had none. 41 pass.Separately: the token needs a permission it does not have
This is why the null appeared, and the fix does not resolve it.
SYDEVS_BOT_PATcannot read the org project. Grant the fine-grained PAT organization permissions → Projects: read and write (the oldADD_TO_PROJECT_PAThad it, which is whyactions/add-to-projectworked). Until then every item's Status is stale, and each dispatch journals one anomaly saying so.