forgedock 1.68.0 → 1.70.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.
Files changed (68) hide show
  1. package/bin/engine-cli.mjs +4 -9
  2. package/bin/lean/advisory.test.mjs +14 -5
  3. package/bin/lean/batch.mjs +11 -1
  4. package/bin/lean/capsample.mjs +25 -0
  5. package/bin/lean/conformance.mjs +9 -1
  6. package/bin/lean/conformance.test.mjs +7 -0
  7. package/bin/lean/depcache.mjs +2 -0
  8. package/bin/lean/effects.mjs +15 -1
  9. package/bin/lean/envgap.mjs +18 -0
  10. package/bin/lean/envgap.test.mjs +12 -1
  11. package/bin/lean/execution.mjs +3 -0
  12. package/bin/lean/execution.test.mjs +21 -0
  13. package/bin/lean/failure-stop.mjs +12 -1
  14. package/bin/lean/failure-stop.test.mjs +14 -1
  15. package/bin/lean/hostconfig.mjs +54 -0
  16. package/bin/lean/hostconfig.test.mjs +67 -0
  17. package/bin/lean/issuewatch-parity.test.mjs +1 -1
  18. package/bin/lean/lane-audit-llm.mjs +51 -4
  19. package/bin/lean/lane-audit-llm.test.mjs +57 -0
  20. package/bin/lean/lane-audit.mjs +1 -1
  21. package/bin/lean/lean.mjs +63 -26
  22. package/bin/lean/lean.test.mjs +100 -19
  23. package/bin/lean/live-execution.mjs +3 -0
  24. package/bin/lean/live-execution.test.mjs +23 -0
  25. package/bin/lean/orchestrate-dispatch-placement.test.mjs +81 -0
  26. package/bin/lean/orchestrate-envhold.test.mjs +15 -1
  27. package/bin/lean/orchestrate.mjs +27 -9
  28. package/bin/lean/preflight.mjs +10 -3
  29. package/bin/lean/preflight.test.mjs +21 -1
  30. package/bin/lean/prompts.mjs +1 -0
  31. package/bin/lean/release-cigreen.mjs +204 -0
  32. package/bin/lean/release-cigreen.test.mjs +115 -0
  33. package/bin/lean/release-deploy.mjs +35 -5
  34. package/bin/lean/release-deploy.test.mjs +50 -3
  35. package/bin/lean/release-fixloop.mjs +1 -1
  36. package/bin/lean/release-flakes.mjs +34 -0
  37. package/bin/lean/release-flakes.test.mjs +28 -0
  38. package/bin/lean/release-ledger.test.mjs +4 -4
  39. package/bin/lean/release-preflight.test.mjs +2 -2
  40. package/bin/lean/release-rehearsal.test.mjs +1 -1
  41. package/bin/lean/release-review.e2e.test.mjs +4 -3
  42. package/bin/lean/release-review.mjs +136 -56
  43. package/bin/lean/release-review.test.mjs +97 -12
  44. package/bin/lean/release-status.mjs +3 -2
  45. package/bin/lean/release-status.test.mjs +2 -2
  46. package/bin/lean/release.mjs +6 -3
  47. package/bin/lean/release.test.mjs +33 -12
  48. package/bin/lean/sandbox-remote.mjs +35 -4
  49. package/bin/lean/schedd.mjs +2 -2
  50. package/bin/pool/agent.mjs +105 -15
  51. package/bin/pool/cli.mjs +22 -4
  52. package/bin/pool/docker.mjs +2 -0
  53. package/bin/pool/image-manifest.mjs +24 -0
  54. package/bin/pool/image-manifest.test.mjs +20 -0
  55. package/bin/pool/lane-tools.mjs +23 -4
  56. package/bin/pool/lane-tools.test.mjs +27 -7
  57. package/bin/pool/project-layer.mjs +142 -0
  58. package/bin/pool/project-layer.test.mjs +73 -0
  59. package/bin/pool/router.mjs +20 -6
  60. package/bin/pool/version.mjs +45 -2
  61. package/bin/review-staging.mjs +63 -21
  62. package/bin/stats/tool-parks.mjs +29 -0
  63. package/bin/stats/tool-parks.test.mjs +21 -0
  64. package/commands/review-pr-staging.md +1 -1
  65. package/docs/CONFIG.md +20 -0
  66. package/package.json +1 -1
  67. package/pool/image/Dockerfile +1 -1
  68. package/scripts/ci-local.test.sh +3 -2
@@ -22,7 +22,7 @@ RUN test -n "$FORGEDOCK_VERSION" || { echo "FORGEDOCK_VERSION build arg is requi
22
22
  ENV IS_SANDBOX=1 DEBIAN_FRONTEND=noninteractive LANG=C.UTF-8 PLAYWRIGHT_BROWSERS_PATH=/opt/playwright UV_PYTHON_INSTALL_DIR=/opt/uv-python PATH=/opt/cs/bin:/opt/node/bin:/root/.local/bin:$PATH
23
23
 
24
24
  RUN apt-get update && apt-get install -y --no-install-recommends \
25
- ca-certificates curl git jq xz-utils build-essential python3 python3-venv python3-dev pkg-config libpq-dev \
25
+ ca-certificates curl git jq xz-utils build-essential python3 python3-venv python3-dev python3-yaml gnupg pkg-config libpq-dev \
26
26
  shellcheck xvfb xauth postgresql-client redis-tools \
27
27
  && install -d -m 0755 /etc/apt/keyrings \
28
28
  && curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg -o /etc/apt/keyrings/githubcli.gpg \
@@ -518,7 +518,8 @@ echo '{"a":1}' > "$r/lib/data.json"; P=$(plan "$r")
518
518
  has "jest: a changed data file widens (not reachable through imports)" "$(step_field "$P" task:npm:test 1 '.scope.widen_reason')" "unknown-language"
519
519
 
520
520
  # ------------------------------------------------------------------------------------------------ ForgeDock's own workflows
521
- P=$(bash "$S" plan --repo "$ROOT" --base HEAD --base-branch staging --head-branch feat/spec-change --files "commands/work-on/build.md" --json --no-cache 2>/dev/null)
521
+ # PR CI runs only on release PRs to main (owner decision 2026-11-27); staging is checked on push.
522
+ P=$(bash "$S" plan --repo "$ROOT" --base HEAD --base-branch main --head-branch release/spec-change --files "commands/work-on/build.md" --json --no-cache 2>/dev/null)
522
523
  if [ -z "$P" ]; then bad "plan on ForgeDock's own workflows produced no output"; else
523
524
  eq "ForgeDock: a spec change selects a check-commands job" runnable "$(state "$P" gha:check-commands:check-native-conflicts)"
524
525
  eq "ForgeDock: a spec change selects the ci unit-tests job" runnable "$(state "$P" gha:ci:unit-tests)"
@@ -529,7 +530,7 @@ if [ -z "$P" ]; then bad "plan on ForgeDock's own workflows produced no output";
529
530
  eq "ForgeDock: portability checks run" runnable "$(state "$P" portability:builtin)"
530
531
  # Narrowing is asserted on a spec with a small reference reach (design-bench.md: ~10 referrers). Specs that name the release engine
531
532
  # (build.md, review-pr-staging.md) sit near the 600-file fan-out cap, so any growth in bin/lean widens them to the full suite; that is the cap working.
532
- PN=$(bash "$S" plan --repo "$ROOT" --base HEAD --base-branch staging --head-branch feat/spec-change --files "commands/design-bench.md" --json --no-cache 2>/dev/null)
533
+ PN=$(bash "$S" plan --repo "$ROOT" --base HEAD --base-branch main --head-branch release/spec-change --files "commands/design-bench.md" --json --no-cache 2>/dev/null)
533
534
  eq "ForgeDock: the unit-test step is narrowed by the reference graph" scoped "$(printf '%s' "$PN" | jq -r '[.jobs[] | select(.id == "gha:ci:unit-tests") | .steps[] | select(.scope.selector == "refgraph-nodetest") | .scope.mode][0]')"
534
535
  fi
535
536