Skip to content

Fix llms full txt artifact#49

Merged
baxyz merged 2 commits into
mainfrom
fix/llms-full-txt-artifact
Jul 21, 2026
Merged

Fix llms full txt artifact#49
baxyz merged 2 commits into
mainfrom
fix/llms-full-txt-artifact

Conversation

@baxyz

@baxyz baxyz commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Description

Please include a summary of what this PR does and why it's needed.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring
  • Test improvement

Related Issues

Closes #(issue number)

How Has This Been Tested?

Describe the tests you ran and how to reproduce them:

  • Test A
  • Test B

Checklist

  • My code follows the code style of this project
  • I have updated the documentation accordingly
  • I have added tests for my changes
  • All new and existing tests passed locally
  • My commits follow the conventional commit format

Screenshots (if applicable)

Add screenshots for UI changes.

Additional Context

Add any other context about the PR here.

baxyz added 2 commits July 21, 2026 18:42
The fallback metadata source (used when the release-artifact download
fails) only copied each npm package's meta/ directory — llms.txt ships
at the package root, alongside meta/, so it was silently dropped there
too. Verified against real npm packages (@helpers4/all, @helpers4/array)
that llms.txt is genuinely present at that path in every package.

Doesn't fix the currently-stale helpers4.dev/typescript/llms-full.txt on
its own — that requires the release-artifact path (the one actually in
use) to have llms.txt too, fixed separately in helpers4/typescript's
release.yml. This just closes the same gap in the fallback path for
defense-in-depth.
The 'Commit and push updated docs' step only staged
src/content/docs/${DOCS_TARGET}/ and src/data/versions.json —
generate-typescript-docs.js also writes public/typescript/llms-full.txt
(and its archived vN/ snapshots), but that path was never added. The
file could be correctly regenerated on disk with fresh content and the
step would still print 'No changes to commit' and exit, since nothing
under public/ was ever staged to diff against.

This is why re-triggering the workflow for v3.0.4 (after fixing the
build-meta.tar.gz artifact to include llms.txt) still didn't update the
live site: the generator logged '✓ published llms-full.txt', but the
commit step silently dropped it.

Verified end-to-end in a scratch worktree: ran the real generator
against the real (now-fixed) v3.0.4 build artifact, confirmed
public/typescript/llms-full.txt is the only file that changes (the
content pages were already up to date from earlier runs), and that the
old git add left it undetected while the fixed one stages and commits
it correctly.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying helpers4 with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7527414
Status: ✅  Deploy successful!
Preview URL: https://62317509.helpers4.pages.dev
Branch Preview URL: https://fix-llms-full-txt-artifact.helpers4.pages.dev

View logs

@github-actions

Copy link
Copy Markdown

✅ PR Validation Passed

All checks passed!


📋 Pipeline Status

Job Status
🧾 Conventional Commits passing
🏗️ Build passing
📘 TypeCheck passing

🤖 Generated by @helpers4 CI • 2026-07-21

@baxyz
baxyz merged commit ad53718 into main Jul 21, 2026
9 checks passed
@baxyz
baxyz deleted the fix/llms-full-txt-artifact branch July 21, 2026 18:47
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