Skip to content

feat(ci): fork schedule-stall classifier with contract test (#14444) - #14612

Open
dezren39 wants to merge 1 commit into
mainfrom
lane/oc-code-05/14444-fork-schedule-stall
Open

dezren39 wants to merge 1 commit into
mainfrom
lane/oc-code-05/14444-fork-schedule-stall

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Summary

Next slice of #14444 (feature-slice): after this PR, bash .github/scripts/check-fork-schedule-stall.sh --runs-json runs.json classifies a fork's Actions schedule health as healthy / repo-wide-cron-silence / single-workflow-or-idle / no-schedule-data, with the measured days-since-last-schedule. Includes the contract test (golden fixture = the live 2026-11-24 developing-today-forks/opencode stall, real run IDs) and a dated escalation record naming the owning platform limit.

Evidence

Before (on origin/main): no command distinguishes a failing scheduled workflow from repo-wide cron suppression; the two triage verdicts on #14444 disagreed on root cause (dispatch-502 vs platform suppression).

After (this branch, laptop-verified at 3fcb7da):

  • bash .github/scripts/check-fork-schedule-stall.test.sh → all 7 contract assertions pass (stall / healthy / idle / bare-array / 3 usage-error cases).
  • Live field check just now: gh api repos/developing-today-forks/opencode/actions/runs?per_page=100 piped through the classifier →
    workflows_with_schedule_events=8 newest_schedule_event=2026-11-20T23:01:45Z days_since_last_schedule=3.9 nonschedule_runs_since_last_schedule=25 verdict=repo-wide-cron-silence.
    Corroborates the xaltha verdict: last schedule runs agents 44826053161 (22:06Z, pm-dispatch 502 failure), repo-sweeper 44833661765 (23:01Z success); zero schedule events repo-wide after 2026-11-20 while Dependabot dynamic runs fire today (2026-11-24T18:27Z).
  • shellcheck -S warning clean on both scripts.

Evidence level: ran on the laptop at 3fcb7da; relies on nightly/main CI for the wider suite (narrowest build that proves it: the contract test above — no Rust/JS build touched).

Closes no acceptance criterion fully. Moves AC1 (reason identified with evidence) to checked: the escalation record + classifier + live run list are committed evidence. AC2's escalation half is recorded (owning platform limit named: GitHub Actions schedule policy for fork repositories); resume awaits re-enable + observe.

Merge Danger

Low. Three new files, add-only, no existing file touched: one diagnostic script, its contract test, one immutable dated report. Revert = delete the three paths. No CI wiring changed (no new gate); the classifier is opt-in diagnostic until a monitor adopts it.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T21:10:07Z",
    "session_id": "ses_e5df0ad6371ffezsbNNbV3EPXg",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/wt-14444",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/wt-14444",
      "repo": "developing-today/code",
      "branch": "lane/oc-code-05/14444-fork-schedule-stall",
      "sha": "3fcb7da6d10182a20bfb331aa7cc8e6249fbfef8"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Adds check-fork-schedule-stall.sh: given a runs JSON document (gh api
actions/runs), reports per-workflow last schedule event, days-since,
non-schedule activity after it, and a verdict (healthy /
repo-wide-cron-silence / single-workflow-or-idle / no-schedule-data).

The golden fixture is the live 2026-11-24
developing-today-forks/opencode stall (real run IDs): last schedule
event 2026-11-20T23:01:45Z, Dependabot runs still firing 11-24,
verdict repo-wide-cron-silence. Dated escalation record names the
owning platform limit (GitHub Actions schedule policy for forks).

Lane: oc-code-05.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4f7d9b4e-8e2d-4152-a43e-04aeaf30b319
Commits

Reviewing files that changed from the base of the PR and between 6570613 and 3fcb7da.

Files selected for processing: 3

  • .github/scripts/check-fork-schedule-stall.sh
  • .github/scripts/check-fork-schedule-stall.test.sh
  • doc/2026-11-24T21-07-25Z_report_fork-schedule-stall-14444/escalation.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant