Skip to content

ci: make a clean maintenance-watch run show its work - #131

Merged
moshest merged 1 commit into
mainfrom
claude/watch-audit-line
Sep 1, 2026
Merged

ci: make a clean maintenance-watch run show its work#131
moshest merged 1 commit into
mainfrom
claude/watch-audit-line

Conversation

@moshest

@moshest moshest commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

The first run of maintenance-watch (dispatched right after #130 merged) printed:

Nothing outstanding.

That was the correct answer — I checked each condition by hand afterwards:

But the output proves none of that. It's indistinguishable from a run whose checks silently did nothing — which is exactly the failure this workflow was added to replace, and the same shape as a nightly that goes green because a broken package aged out of --since.

Change

Every run now logs what it examined:

Examined 2 open PR(s); 0 of the last 7 scheduled registry runs failed
(latest: success); version 1.2.3 vs npm 1.2.3.

An all-clear becomes auditable instead of asserted. If a future run reports Examined 0 open PR(s) while PRs are visibly open, that's a bug you can see rather than silence you have to trust.

Test plan

  • YAML parses
  • Both run blocks pass bash -n
  • The counts come from data the job already fetched and shape-checked — no new API calls

Will dispatch once merged, same as #130, and confirm the line appears with real numbers.


Generated by Claude Code

The first run printed "Nothing outstanding" and nothing else. That was the
correct answer, but the output is indistinguishable from a run whose checks
silently did nothing — which is the exact failure this workflow was added to
replace, and the same shape as a nightly that goes green because a broken
package aged out of its window.

Now every run logs what it examined: how many open PRs, how many of the last
seven scheduled registry runs failed and the latest result, and the local
version against npm. An all-clear is auditable instead of asserted.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NBQQpA86yYzwJUiVz8ph2R
@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d718a37

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@moshest
moshest marked this pull request as ready for review September 1, 2026 03:27
@moshest
moshest merged commit 457dc8f into main Sep 1, 2026
3 checks passed
@moshest
moshest deleted the claude/watch-audit-line branch September 1, 2026 03:27
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.

2 participants