-
-
Notifications
You must be signed in to change notification settings - Fork 76
feat(miner-manage): CI check-run poller (read-only) #2323
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is neededExtra attention is needed
Projects
StatusShow more project fields
Done
Once a PR is open, Phase 4 needs to know its CI status without any write access — pure polling of the GitHub Checks API (or equivalent) on an interval, read-only, client-side. This is the data-gathering half of "CI + maintainer-gate status monitoring"; it does not decide anything, just observes and normalizes.
Deliverables
packages/gittensory-miner/src/manage/ci-poller.ts—pollCheckRuns(repoFullName, prNumber)returning a normalized{ conclusion: "pending" | "success" | "failure" | "neutral", checks: [...] }shapeReferences
src/mcp/server.ts:1176(gittensory_monitor_open_prs) — existing read-only PR-queue-state classifier to mirror the read-only discipline ofpackages/gittensory-miner/src/state/event-ledger.ts(new) — poll results get appended here asci_status_changedeventspackages/gittensory-miner/src/manage/ci-poller.ts