Skip to content

Delete the Stale Bot-Id Disproved Claims Entry and Bar Hub-Hosted Entries - #2681

Merged
ptr727 merged 5 commits into
developfrom
feature/auto-1238
Oct 10, 2026
Merged

ptr727 merged 5 commits into
developfrom
feature/auto-1238

Conversation

@ptr727

@ptr727 ptr727 commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Applies the maintainer's decision recorded on #1238.

  • Deletes the "Disproved Claims" entry in .github/copilot-instructions.md about the GraphQL pullRequests connection defaulting to states: [OPEN]. It cited a "Triggering and Polling" section and a BOT_ID query the file no longer holds, so the ledger's own rule deletes it.
  • States in the ledger preamble that an entry is never about hub-hosted machinery, with the decision's reason: a repository without that tooling has nothing to re-check such a claim against.
  • Records the still-live constraint beside Q_BOT_ID in scripts/pr_review.py: the query names no states argument because the omitted default is every state, so the bot id still resolves where every reviewed pull request has merged. This adds a comment line, so the pull request carries the comments label.

The remaining ledger entries were deliberately left alone, since the decision kept their sweep as separate work.

Closes on promotion: #1238

Local review findings still open after the edit budget

🤖 Generated with Claude Code

ptr727 and others added 3 commits October 9, 2026 13:40
…ries

The ledger entry about the GraphQL pullRequests states default cited a
runbook section and query this file no longer holds, so it is deleted
under the ledger's own rule. The ledger preamble now states that an
entry is never about hub-hosted tooling, and the still-live constraint
is recorded beside Q_BOT_ID in scripts/pr_review.py instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The added rule read as one 32-word sentence whose link title sat in
subject position. It is now two sentences, and the "therefore" that
tied it to the preceding downstream-only reason is gone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
"The constraint" had no antecedent in the preamble, since an entry
records a disproved claim rather than a constraint.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 9, 2026 20:44
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Oct 9, 2026
@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d0ac3404-5cc1-445a-9a7a-ec9928a326cc

  • 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

Comment @coderabbitai help to get the list of available commands.

"Recorded in its own code" let "its" bind to the repository, which
reads as the opposite of the rule. The sentence now names that
tooling's code.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two unresolved P2 clarity and style comments remain.

2 open findings
What changed in this PR

This pull request removes a stale disproved-claims entry and documents the live Q_BOT_ID query behavior.

Changes:

  • Updates the hub-hosted tooling boundary in the ledger.
  • Documents the query’s all-state default beside Q_BOT_ID.
File Summary
scripts/​pr_review.py Documents bot-ID query behavior.
.github/​copilot-instructions.md Removes the stale claim and updates ledger guidance.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/copilot-instructions.md Resolved
Comment thread scripts/pr_review.py Resolved
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@1a44ea4). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2681   +/-   ##
==========================================
  Coverage           ?   59.58%           
==========================================
  Files              ?       16           
  Lines              ?     8317           
  Branches           ?        0           
==========================================
  Hits               ?     4956           
  Misses             ?     3361           
  Partials           ?        0           
Flag Coverage Δ
python-3.13 59.58% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The added comment ran 31 words in one sentence, past the 25-word cap
for new prose.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ptr727

ptr727 commented Oct 9, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 19a89784a64f937b6a109a44732fac65fbce70de, the content this pull request carries at that commit against develop, and it recorded 2 findings.

@ptr727
ptr727 merged commit 02dd857 into develop Oct 10, 2026
25 of 31 checks passed
@ptr727
ptr727 deleted the feature/auto-1238 branch October 10, 2026 00:03
ptr727 added a commit that referenced this pull request Oct 10, 2026
## Summary

Promotes develop to main. It carries two changes:

- #2681 Deletes the stale "Disproved Claims" entry about the GraphQL
`pullRequests` connection's default `states` from
`.github/copilot-instructions.md`, states in the ledger preamble that an
entry is never about hub-hosted machinery, and records the live `states`
constraint beside `Q_BOT_ID` in `scripts/pr_review.py`.
- #2687 Bounds the `Q_BOT_ID` comments to the window the query reads,
answering this pull request's review finding.

Fixes #1238

🤖 Generated with [Claude Code](https://claude.com/claude-code)
ptr727 added a commit that referenced this pull request Oct 10, 2026
#2689)

## Summary

The `Lint sources job` pulled three images from Docker Hub without
authenticating: editorconfig-checker, shellcheck, and shfmt. Once a
runner's address used up Docker Hub's anonymous pull allowance, the step
failed with `toomanyrequests` regardless of the change under test
(#2682).

This change pulls each image from a registry without that limit:

| Was | Now |
| --- | --- |
| `mstruebing/editorconfig-checker:latest` |
`ghcr.io/editorconfig-checker/editorconfig-checker:latest` (the
project's own GHCR image) |
| `koalaman/shellcheck:stable` |
`mirror.gcr.io/koalaman/shellcheck:stable` |
| `mvdan/shfmt:latest` | `mirror.gcr.io/mvdan/shfmt:latest` |

Each new reference resolves to the same image id as the reference it
replaces. `scripts/docker_lint.py`, the repo-gate `composite-actions`
check (`SHELLCHECK_IMAGE`), and the two READMEs that name the images
move with the workflow, so local runs keep using the same images as CI.
A second commit splits a 29-word sentence on the README line this change
touched.

The `catalog/snippets/configs/vscode-tasks*.json` editor tasks keep the
Docker Hub editorconfig-checker reference. They run locally rather than
in CI, the image is identical, and changing them would give every
carrying repository resync drift for no behavior change.

The maintainer chose this design over authenticating to Docker Hub (a
per-repository secret fleet-wide, missing on Dependabot and fork pull
requests), installing the tools natively (CI tool versions drift from
`docker_lint.py`), and a bounded retry (three attempts across about
twenty minutes already failed on #2681). The known risk is that
`mirror.gcr.io` is a pull-through cache that Google does not guarantee
for these images.

## Verification

- `scripts/docker_lint.py`: all 7 linters pass, pulling the new images.
- `scripts/repo_gate.py`: `composite-actions`, `eol`, `eol-coverage`,
and `sha-pin` all clean. `composite-actions` runs shellcheck from the
new image.
- `tests/test_docker_lint.py` and `tests/test_repo_gate.py`: 181 passed.
- `spec/validate.py`, `ruff check`, `ruff format --check`, actionlint,
and `prose_lint.py --diff` (default and `--check sentence-length`) are
all clean.
- Two recorded `local-strict-review` passes. The first reported only the
pre-existing long sentence, which the second commit fixes, and the
second reported nothing.

Part of #2682. The closing reference goes on the promotion pull request.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Updated the container image sources used for repository validation and
script checks. The checks themselves remain unchanged.
* Updated setup and script documentation to reflect the revised image
references.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants