Skip to content

Do not publish an unchanged index - #24

Open
Maximilian-Nesslauer wants to merge 4 commits into
snapshot-annotationsfrom
snapshot-unchanged
Open

Do not publish an unchanged index#24
Maximilian-Nesslauer wants to merge 4 commits into
snapshot-annotationsfrom
snapshot-unchanged

Conversation

@Maximilian-Nesslauer

Copy link
Copy Markdown
Member

Stacked on #23. Needs KSAModding/content-manager-design#46, which corrects the spec text this implements.

sources carries the two commit SHAs, so a README edit or a Dependabot bump moved the snapshot bytes with no change in content, and every client re-downloaded.
That is the cost the "no wall-clock field" rule in spec/snapshot.md exists to avoid, reintroduced more slowly.

Unchanged content now keeps the published provenance, and the workflow compares against what is published and skips the deploy when the bytes match, because a deployment issues a new ETag either way.

@Maximilian-Nesslauer Maximilian-Nesslauer added this to the Index v0.1 milestone Aug 14, 2026
@Maximilian-Nesslauer Maximilian-Nesslauer added area:infra CI, workflows, automation area:publishing listing and release flows labels Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:infra CI, workflows, automation area:publishing listing and release flows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant