forgedock 1.65.0 → 1.66.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/CONFIG.md CHANGED
@@ -2950,6 +2950,7 @@ Keys of the pool agent's JSON config (`forgedock pool agent`), not of `forge.yam
2950
2950
  |---|---|---|---|
2951
2951
  | `cache_max_age_days` | number | `14` | uv/npm/pip/poetry cache files, depcache and env snapshot entries older than this are deleted by the agent sweep, with no launch needed. The pnpm store is pruned and the git mirror gets `git gc --auto`. |
2952
2952
  | `cache_max_gb` | number | unset (no cap) | Per-volume cap. A volume over it is shrunk oldest-first below the cap; work dirs of live sandboxes are never touched. |
2953
+ | `depcache_max_gb` | number | `40` | Per-repo cap on `forge-depcache/<repo>/` (#5901). Over it, the least recently used snapshots (by their `last-used` stamp) are deleted, never one held by a lane lock. `/capacity` `cache_volumes.<volume>.depcache_gb` and `forgedock pool status` show each repo's depcache size. Snapshots are also aged out per snapshot by `cache_max_age_days`. |
2953
2954
  | `cache_idle_days` | number | `30` | A volume with no launch for this long and no referencing sandbox is removed. Evicted only when its last use is known (`/cache/.last-used`, written by the lane entrypoint). |
2954
2955
  | `cache_never_evict` | list of volume names | `[]` | Volumes (e.g. `cs-cache-marcode`) that are never swept or evicted. |
2955
2956
  | `cache_sweep_interval_s` | number | `3600` | Gap between cache sweeps. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forgedock",
3
- "version": "1.65.0",
3
+ "version": "1.66.0",
4
4
  "description": "An AI engineering team that ships to production",
5
5
  "bin": {
6
6
  "forgedock": "bin/forgedock.mjs"
@@ -17,7 +17,8 @@ date +%s > /cache/.last-used 2>/dev/null || true # #5757: the agent evicts cache
17
17
  exec > >(tee -a /csout/lane.log) 2>&1
18
18
 
19
19
  export HOME=/root
20
- export UV_CACHE_DIR=/cache/uv npm_config_cache=/cache/npm POETRY_CACHE_DIR=/cache/poetry PIP_CACHE_DIR=/cache/pip
20
+ # #5969: same layout as depcache.mjs env(); the legacy /cache/{uv,npm,pip,poetry} stay swept for old volumes.
21
+ export UV_CACHE_DIR=/cache/forge-depcache/stores/uv-cache npm_config_cache=/cache/forge-depcache/stores/npm-cache POETRY_CACHE_DIR=/cache/forge-depcache/stores/poetry-cache PIP_CACHE_DIR=/cache/forge-depcache/stores/pip-cache
21
22
  export TMPDIR=/tmp
22
23
  # ForgeDock's dependency cache (its pnpm store and snapshots) and pnpm's own store live in the persistent per-repo
23
24
  # cache volume, so a lane installs from a warm store instead of downloading every package (a cold monorepo install