Skip to content

Diff-scoped checks block formatter-only changes, so this repo cannot adopt its own formatter hooks - part 1 of 2 #17778

Open

Description

@melodic-automation-lanes

Part 1 of 2 of #17178, split at intake (owner Q93). The done-when below is copied from #17178 as written.

Done when

  • The shfmt cleanup PR and the ruff format cleanup PR each add one fragment under .changes/<plugin>/ for every plugin whose shipped files they change, and every one of those fragments sets bump: patch.
  • scripts/check-changelog-fragments.sh --check-required passes on each cleanup PR's change set.
  • Neither scripts/sync-shared-copies.sh nor scripts/check-vendor-version-bump.sh gains an exemption for formatter-only or whitespace-only changes.

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Low
    Uncertainty: Knowable
    Flags: none
    Blocked by: none
    Blast radius: changelog fragments under .changes/<plugin>/ for the shfmt and ruff format cleanup PRs, and the CI changelog check those PRs run. The two sync and vendor-bump scripts stay unchanged. Maintainers and CI read it.
    Reversible: yes; drop the fragments or revert the cleanup PRs.
    Open questions: none
    I read this as part 1 of 2 of #17178, split at intake. Each formatter cleanup PR (shfmt, ruff format) must carry a bump: patch fragment for every plugin whose shipped files it touches. scripts/check-changelog-fragments.sh --check-required must pass on each PR. No exemption for formatter-only changes may be added to scripts/sync-shared-copies.sh or scripts/check-vendor-version-bump.sh. The done-when is exact, so I flagged no intent question. #17179 is not needed; the sibling part is #17779. No merged PR in the list looks like a fix for this.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    {"v":1,"actor_id":337595936,"title_sha256":"938236db5be363e3ae99ad06c58b47ca426e8aa2c27588f70af5a03c6159de67","body_sha256":"aa1d4c2fde1f4b39fe0acad65ee187b4c21b65e180da1aee0cb795bb81ad4cc4"}

  5. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    {"v":1,"actor_id":337595936,"title_sha256":"938236db5be363e3ae99ad06c58b47ca426e8aa2c27588f70af5a03c6159de67","body_sha256":"aa1d4c2fde1f4b39fe0acad65ee187b4c21b65e180da1aee0cb795bb81ad4cc4"}

  6. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
  7. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    The work-resolve-issue run that agent-ready started waited in its slot past a change to its lane workflow files on main, so it stopped before any model turn. The run's report-outcome removed and added agent-ready back to start a fresh run on main's workflow files. If this run ends the same way, it re-fires the issue again, waiting longer each time.

  8. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44873837869, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T06:12:06Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  9. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
  10. added
    host-run
    on Nov 21, 2026
  11. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    ContributorAuthor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host run the lane cannot make.
    It added host-run and set Work status to confirmed: an agent run on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: this issue's done-when is about the shfmt and ruff format cleanup PRs themselves (fragments in each, check-changelog-fragments passing on each change set). Producing them means running shfmt over ~1,282 files and ruff format over ~359 files in about 90 plugins. The parent #17178 says control-hub's .work/dryrun-worktree.sh and .work/ccp-cleanup.sh build them, and those scripts are not in this repository. This lane's Bash runs only the named wrappers, so it cannot run shfmt or ruff, and hand-editing that many files is not feasible. There is also an ordering dependency: #17178's owner decision (2026-11-18) puts the diff-scoped gate fix ahead of the cleanups, and the fix has not landed. checks_added_ranges in lib/git-hooks/check-lib.sh:422 still counts every line git diff -U0 adds, with no whitespace-insensitive compare, so a cleanup commit would still fail comment-lint and the machine-paths/content scans.

    What the run says it did not do:

    • The shfmt cleanup PR and the ruff format cleanup PR, with their per-plugin bump: patch fragments, were not built. Building them needs a host run of the formatters (or control-hub's .work/ccp-cleanup.sh), and the #17178 gate fix has to land first.
    • check-affected size-check could not run: audit-size.sh is missing from the lane checks bundle (exit 127). No files changed, so nothing depended on it.

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44906893780

    To hand it back to the lane, remove host-run and set Work status to agent-ready again.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    host-run

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions