Skip to content

Delete removed publications, cache SNAPSHOT metadata, fix CI test report - #134

Merged
aSemy merged 4 commits into
mainfrom
dev
Nov 16, 2026
Merged

aSemy merged 4 commits into
mainfrom
dev

Conversation

@aSemy

@aSemy aSemy commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor
  • Removed publications are now deleted from the dev repo. Previously their files stayed in the shared publications store and were copied back in. Each publish task now writes to its own directory, and publishAllToDevRepo syncs only the current ones.
  • generateDevPublishMetadata is now build-cacheable for SNAPSHOT versions. Re-publishing a SNAPSHOT gives every file a new timestamp, so the task always missed the cache. It now tracks file contents without their paths, and the repo paths, with timestamps replaced by SNAPSHOT, as a separate input.
  • The JUnit report in CI no longer includes the tested projects' test results. action-junit-report makes a separate report for each line of report_paths, so the !**/build/project-tests/** exclusion never worked.

New public API: PublishAllToDevRepoTask, and an empty GenerateDevPublishMetadataTask.Companion.

@aSemy
aSemy marked this pull request as draft November 16, 2026 00:06
Keeps the helpers next to the task, ready for the repo path helper.
Re-publishing a SNAPSHOT renames every file with a new timestamp, so generateDevPublishMetadata always missed the build cache. Track the files without their paths, and add the repo paths, with timestamps replaced by SNAPSHOT, as a separate input.

Key the checksum state by the path relative to the repo, since the tracked files' normalised paths no longer include it.
The publications store was shared as a whole, so a removed publication's files stayed there and were copied into the dev repo. Publish tasks now write to their own directories, and publishAllToDevRepo syncs only the current ones into the store.
Only match the modules' own test results instead.

action-junit-report makes a separate report from each line of report_paths, so the `!**/build/project-tests/**` line never excluded anything.
@aSemy aSemy changed the title Dev Delete removed publications, cache SNAPSHOT metadata, fix CI test report Nov 16, 2026
@aSemy
aSemy marked this pull request as ready for review November 16, 2026 09:45
@aSemy
aSemy enabled auto-merge November 16, 2026 09:45
@aSemy
aSemy added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit bb1c2fb Nov 16, 2026
4 checks passed
@aSemy
aSemy deleted the dev branch November 16, 2026 10:20
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