Skip to content

Track upstream CLA action changes - #4

Merged
clarkbw merged 1 commit into
masterfrom
feat/upstream-monitor
Nov 3, 2026
Merged

clarkbw merged 1 commit into
masterfrom
feat/upstream-monitor

Conversation

@clarkbw

@clarkbw clarkbw commented Nov 3, 2026 •

Copy link
Copy Markdown

Check iainmcgin's CLA action daily and open a tracking issue when its default branch contains commits missing from this fork. Each observed upstream tip gets one issue with its SHA and comparison link; reruns respect open and closed alerts for that tip. Manual runs are available.

The workflow uses the ordinary Actions token with Contents read and Issues write permissions. It verifies the fork parent, serializes runs to avoid duplicate issues, and fails visibly on API errors. GitHub Issues is now enabled on this repository for the requested alerts. The script is included in formatting checks.

Validation

  • 18 suites passed: 159 tests passed, one historical-baseline placeholder skipped. Eleven tests cover monitoring, deduplication, untrusted marker suppression, parent validation, and API failure. The eleven monitor tests were rerun after the final minor changes below.
  • Formatting, Knip, publint, and actionlint passed.
  • All five hosted checks passed, including CodeQL and the Node 24 Linux build. The final Linux run passed all 159 tests and verified the committed action bundle has no drift.
  • Live GitHub metadata confirms the parent, branch names, enabled Issues and Actions, and the official action pins. The cross-fork comparison reports three commits ahead and none behind, so no alert is currently needed. Issue creation is tested with mocks; no test issue was filed.

Review

Two completed rounds: Codex, Claude Opus, and Claude Sonnet in round 1; Opus and Sonnet in round 2. Copilot was unavailable.

Codex found no defects. Opus and Sonnet identified the unchecked parent relationship, missing script formatting coverage, and undocumented schedule limits. Parent validation now has red/green tests, formatting covers the script, and the guide documents schedule activation and inactivity. The live comparison verified direction and response fields; local Jest verified the CommonJS file resolves. The pinned GitHub Script v9 source confirms workspace-relative require support. A full hosted monitor run still requires merging; the guide calls for a manual dispatch afterward.

After the second round, low findings led to filtering issue history by the bot creator and pinning each comparison link's upstream side to the recorded tip. The REST API accepted both forms, the eleven monitor tests passed after red/green verification, and lint passed. No additional model round ran for those minor changes.

Limits: GitHub can disable public-repository schedules after 60 days without repository activity; maintainers must re-enable an idle workflow. Alerts intentionally compare full fork history, so cherry-picked or declined commits can appear in later ranges. Alerts use per-tip issues and retain the hidden bot marker for deduplication. API errors fail the run; the workflow cannot notify if GitHub itself stops scheduling it. Model review was static; live checks and tests were run separately. The schedule activates after this workflow merges to the default branch.

Signed-off-by: Bryan Clark <clarkbw@gmail.com>
@clarkbw
clarkbw merged commit c39e213 into master Nov 3, 2026
5 checks passed
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