Skip to content

test: verify content drift still fails the build - #448

Closed
loonghao wants to merge 2 commits into
mainfrom
test/drift-ac2
Closed

loonghao wants to merge 2 commits into
mainfrom
test/drift-ac2

Conversation

@loonghao

Copy link
Copy Markdown
Owner

Scratch PR: llms.txt has content drift (not just a version change) to confirm the --check gate still turns the build red after the Version-line fix. Not for merge.

The --check gate added in #445 compares the committed llms files against
freshly generated ones. The stamped version comes from the newest git tag,
so it changes the moment a release lands while the committed file still
carries the previous release. A single release therefore turned main and
every pull request red until the bot's docs pull request was merged by hand:
reproduced by adding a local v0.25.1 tag, which flipped --check from 0 to 1.

Comparison now drops the `Version:` line on both sides. Anything else —
README, examples, module index — still fails, which is what the gate is
for. Version lag keeps converging the way it already did, through the
llms-txt job's pull request; this only stops it from being a build failure.
Both the generator docstring and the workflow step say so, so the next
reader does not mistake a passing check for a bug.

Also correct three comment counts measured against this tree:

- 864 is the "no convention" count, not the pep257 count. Measured: 864
  with no convention, 804 under pep257, 665 under the committed google one.
- The baseline is 507 in photoshop/, 158 in test/, 0 in scripts/. The
  lint scope was `photoshop` alone when it was written, so 507 was the
  whole CI scope then; it is `photoshop test scripts` now.
- Per-tier numbers are upper bounds, not counts: overlapping tiers make
  the eight labels add to 883 against 665 actual findings.
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