Skip to content

Cache verified deployment startup - #573

Merged
wolfy-j merged 5 commits into
mainfrom
fix/deployment-resolution-cache
Aug 19, 2026
Merged

Cache verified deployment startup#573
wolfy-j merged 5 commits into
mainfrom
fix/deployment-resolution-cache

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary:

  • restore locked deployments in verified-offline mode without Hub resolution or downloads; replacements resolve only against locally installed, digest-pinned module manifests
  • make lint and runtime share effective typecheck configuration and content fingerprints so build-stage lint artifacts are directly consumable at v0 boot
  • bound persistent disk-cache retention and keep warm lint/runtime reads immutable
  • retain live compiled code by registry node lifecycle instead of LRU recency; add/update/delete and dependent invalidation are atomic with compilation
  • bound lint concurrency by GOMAXPROCS and preserve content-addressed artifacts across graph rollback
  • use go-lua manifest decoder bounds from Fix manifest decoder bounds go-lua#36

Validation:

  • make test passes with race detection across the full repository
  • make lint passes with zero findings
  • 4,000-entry reachable graph: cold lint 15.57s, warm lint 168ms, runtime restoration 444ms, 127.6 MiB peak RSS, zero cache rewrites
  • Bee v0 after lint: 1,001 entries, zero Lua typechecks, runtime ready in 2.27s, 304.6 MiB peak RSS, zero cache rewrites
  • 1,476-entry application warm lint: 1.34s and zero filesystem writes

Dependency: wippyai/go-lua#36

Not merged.

@wolfy-j
wolfy-j force-pushed the fix/deployment-resolution-cache branch from 119816d to c9154c4 Compare August 16, 2026 02:47
@wolfy-j
wolfy-j force-pushed the fix/deployment-resolution-cache branch 2 times, most recently from 357e964 to 6d68d13 Compare August 19, 2026 15:52
@wolfy-j
wolfy-j force-pushed the fix/deployment-resolution-cache branch from 6d68d13 to 7257837 Compare August 19, 2026 16:23
@wolfy-j
wolfy-j merged commit 5fa8502 into main Aug 19, 2026
4 checks passed
@wolfy-j
wolfy-j deleted the fix/deployment-resolution-cache branch August 19, 2026 18:09
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