Repository navigation
Conversation
Compare the files changed since the last SHA published to both registries and skip scheduled pre-releases when every change is CI, test, or other development-only. Packaging inputs under .github stay relevant, manual runs bypass the filter, and a failed fetch or diff publishes as before. Only the preparation job applies the filter so the two registry rechecks cannot diverge.
eitsupi
marked this pull request as draft
November 13, 2026 14:38
eitsupi
marked this pull request as ready for review
November 13, 2026 14:40
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Scheduled Marketplace / Open VSX pre-releases currently publish whenever
mainhas a different SHA from the last published run, so CI-only or test-only changes produce new pre-releases.This keeps the existing publication-history logic (date reservation, last-published SHA search, unchanged-SHA skip) and adds one step for scheduled runs: list the files changed between the last SHA published to both registries and the current SHA, and skip when every change is development-only.
git fetch --depth=1 origin <base>+git diff --no-renames --name-only -z), so the shallow checkout is enough. Ignored-only changes accumulate against the last published SHA, so nothing is lost across skipped days..github/**,src/test/**,sess/tests/**,R/tests/**, benchmark and test scripts underscripts/, and development configs. Anything not listed is relevant..githubstay relevant:extension-version.js,main.yml,release.yml.diff-unavailable).workflow_dispatchbypasses the filter, so a manual run can still force a pre-release.prerelease-prepareenables the filter (PRERELEASE_PATH_FILTER). The registry rechecks do not repeat it, so a fetch that fails in one registry job and succeeds in the other cannot publish to only one registry.main.ymltests and the GitHublatestrelease are unchanged.The path list is admittedly fine-grained; a TODO notes that moving the extension into a dedicated subdirectory would let it shrink.