Skip to content

fix(xim): make download cache commits transactional#359

Merged
Sunrisepeak merged 11 commits into
mainfrom
fix/issue356-transactional-cache-v2
Jul 12, 2026
Merged

fix(xim): make download cache commits transactional#359
Sunrisepeak merged 11 commits into
mainfrom
fix/issue356-transactional-cache-v2

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Jul 11, 2026

Copy link
Copy Markdown
Member

Summary

  • make file-cache admission explicit and sidecar v2 identity/size aware
  • download into unique staging files, verify before recoverable commit, and serialize competing processes
  • classify extraction failures so only invalid input archives evict cache
  • consume tinyhttps 0.2.9 transfer metadata before cache commit
  • make libxpkg 0.0.44 the only platform parser, compatibility layer, and resource normalizer
  • preserve legacy XLINGS_RES, mirrors, refs, per-arch resources, and platform-conditional recipes
  • release as xlings 0.4.63

Cross-repository dependencies

Validation

  • clean GLOBAL registry resolution of tinyhttps 0.2.9 and libxpkg 0.0.44
  • mcpp build && mcpp test: 10/10 test binaries
  • test_main: 214 tests, 197 passed and 17 fixture-dependent skips, no failures
  • real subprocess file-lock contention passes
  • transfer size rejection and committed GET metadata sidecar tests pass
  • source/ref/template/mirror/legacy/per-arch resource compatibility tests pass
  • libxpkg loader/compat tests and upstream CI pass
  • tinyhttps protocol tests and upstream CI pass

Supersedes #358, whose stacked base caused already-merged #357 build files to remain in the displayed diff.

@Sunrisepeak Sunrisepeak marked this pull request as ready for review July 12, 2026 04:33
@Sunrisepeak Sunrisepeak merged commit f07d819 into main Jul 12, 2026
7 checks passed
@Sunrisepeak Sunrisepeak deleted the fix/issue356-transactional-cache-v2 branch July 12, 2026 04:33
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