Skip to content

Detect new generated assets during website docs refresh - #87

Merged
AdamXweb merged 1 commit into
websitefrom
fix/website-refresh-generated-files
Oct 30, 2026
Merged

AdamXweb merged 1 commit into
websitefrom
fix/website-refresh-generated-files

Conversation

@adamXbot

@adamXbot adamXbot commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

The docs refresh workflow checked only tracked differences, so generation of a new search-index asset could be reported as already current. The same check also missed unexpected untracked output.

Use a shared change classifier that includes staged, unstaged and untracked files, rejects output outside the allowed generated paths, and excludes the auxiliary main-checkout/ checkout and ignored dependencies. Both the publication decision and version-message selection use this result.

Validation: all 30 Node tests and full JavaScript lint pass, including eight refresh tests using temporary Git repositories for new-file-only output, staged edits/moves, deletions, unexpected files and newline-containing filenames. No deployment or live docs refresh was performed.

Based directly on website after #86 was squash-merged. Restacked onto the merged commit with identical file contents to resolve the history conflict. This PR contains only the refresh classifier, workflow wiring and regressions.

@adamXbot
adamXbot force-pushed the fix/website-review-followups branch from 7a3ceab to a9e08ca Compare October 30, 2026 05:25
@adamXbot
adamXbot force-pushed the fix/website-refresh-generated-files branch from 84f43f4 to efa16e8 Compare October 30, 2026 05:25
Base automatically changed from fix/website-review-followups to website October 30, 2026 05:30
@adamXbot
adamXbot force-pushed the fix/website-refresh-generated-files branch from efa16e8 to c63e011 Compare October 30, 2026 05:32
@AdamXweb
AdamXweb merged commit da4862b into website Oct 30, 2026
3 checks passed
@AdamXweb
AdamXweb deleted the fix/website-refresh-generated-files branch October 30, 2026 05:34
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