build(image): the base pin follows the version bump

The version bump of 8efad0d changed pyproject.toml and uv.lock, so the Task base
image workflow ran (run 46200304759) and printed a new pin. The pin had not
moved since b696c08 (2026-10-05). pyproject.toml changed in seven commits before
the bump, and the new base carries tree-sitter-php (4063fd1, 2026-10-14), which
the old one lacked: the base installs the semantic extra from pyproject.toml. So
the new base is not the old one with a new version string. The note in
plane/task-base.digest says: rebuild only when plane/Dockerfile.base,
pyproject.toml or uv.lock change. The release job builds the scan image from
this pin.

What changed
- plane/task-base.digest: base is base-8efad0d at
  sha256:ac342c3d663d50165bc9ecdbfec0a70526f05cd9d546d45596ca6c97270e552e,
  base-browser is base-8efad0d-browser at
  sha256:37d8c489f6aa02872ad93caf14247901fe6782f5a4bb3785f10404251823a94d,
  the content key is the hash of the three files, and the note names the run
  and main 8efad0d.
- docker-compose.yml: the defaults of TASK_BASE_TAG and TASK_BASE_DIGEST follow
  the pin, as tests/test_task_images.py requires. A bare docker compose build
  resolves whatever these defaults say.
- RELEASE_NOTES.md: two sentences in the entry of v2.2.0-alpha.1 say that the
  base of the scan image is new, that it carries tree-sitter-php, and that the
  pin had stood at a base from 2026-10-05, which lacked the package.

Checks
- s10_rel1_base_pins.out: the two pins as the run printed them. The run
  inspected both images anonymously after it logged out (s10_rel1_base_job.log).
- s10_rel2_pins_check.out: both pins match the regex of the tests; the content
  key equals the hash computed here from the three files; the JSON parses.
- s10_rel2_diffcheck.out: git diff --check exits 0; no tracked line holds an old
  value; no non-ASCII character added; the widest added line of the notes is 94
  columns.
- s10_rel2_pytest.out: with the new pin and the old compose defaults,
  tests/test_task_images.py and tests/test_search_image.py: 1 failed, 27 passed
  (test_compose_builds_from_the_pinned_base).
- s10_rel2_pytest_green.out: after the compose change, those two files and
  tests/test_shell_wrapper.py: 34 passed.
- s10_rel2_exits.txt: the gates with label rel2, ten zeros. Three files,
  +12 -10.
- The s10 files are under /tmp/opencode, outside the repository.

Not verified
- The Engine image workflow and the CI run that this push starts.
- A build of the scan image from the new base: the release job does it.

Review.
Round one checked the pin: both digests equal the BASE and BROWSER values of the
job log, from a run on 8efad0d that inspected both images after its logout; the content
key and the compose defaults were recomputed, the RED was rebuilt in a scratch tree, and
no old value was left anywhere. It asked three corrections of the message, which were
made. Round two found the pin files byte-identical and stopped one sentence of the
notes: the previous prerelease pinned base-b696c08, but its release job passed no base
to the scan image, so the comparison with it did not hold. Round three found the pin
files unchanged again and the notes differing from round two in that bullet's six lines
only; the two sentences now stand against the record, and the three image test files
give 34 passed here. Not checked: the browser layer prefix, the Engine image run this
push starts, a scan image build, and the registry now.
This commit is contained in:
Marius Ciepluch
2026-11-29 00:27:57 +01:00
parent 8efad0d448
commit 9b346ea3cc
3 changed files with 12 additions and 10 deletions
+6 -4
View File
@@ -24,10 +24,12 @@ not exist yet. The package, the scan image and the runner image carry the change
inside the scanned path, and says how many source files it left out. An unwritable tree keeps a inside the scanned path, and says how many source files it left out. An unwritable tree keeps a
scan's learnings under the runs directory. scan's learnings under the runs directory.
- **Scan image, wrapper and compose (contributor-scan 3.2 and item 5).** The release builds the - **Scan image, wrapper and compose (contributor-scan 3.2 and item 5).** The release builds the
scan image from the pinned base. The image leaves the reserved populations and the search scan image from the pinned base. That base is new: it carries tree-sitter-php, a dependency
pilot's working files out, names its runtime user in the app layers, and builds its replay since 2026-10-14 (4063fd1). The pin had stood at a base from 2026-10-05, which lacked the
stage again. The wrapper writes its runs to the user cache, runs in the caller's directory, package. The image leaves the reserved populations and the search pilot's working files out,
passes the retention days into the image, and says so when it cannot make its runs directory. names its runtime user in the app layers, and builds its replay stage again. The wrapper
writes its runs to the user cache, runs in the caller's directory, passes the retention days
into the image, and says so when it cannot make its runs directory.
Compose leaves the reports directory to the user and refuses a target that does not exist. A Compose leaves the reports directory to the user and refuses a target that does not exist. A
failed judge call is recorded and ends the asking. The background child of the hook starts failed judge call is recorded and ends the asking. The background child of the hook starts
with -P, as the wrapper does. The MCP server answers a tool that stops the CLI and stays up. with -P, as the wrapper does. The MCP server answers a tool that stops the CLI and stays up.
+2 -2
View File
@@ -15,8 +15,8 @@ services:
args: args:
JOERN_VERSION: ${JOERN_VERSION:-v4.0.625} JOERN_VERSION: ${JOERN_VERSION:-v4.0.625}
# The base is pinned by digest, the same pin CI builds from (plane/task-base.digest): a bare tag can move. # The base is pinned by digest, the same pin CI builds from (plane/task-base.digest): a bare tag can move.
TASK_BASE_TAG: ${TASK_BASE_TAG:-base-b696c08} TASK_BASE_TAG: ${TASK_BASE_TAG:-base-8efad0d}
TASK_BASE_DIGEST: ${TASK_BASE_DIGEST:-sha256:0f374138fcb49fef41609d323cc80b6c2324b1e798d3a2aee5c8038b8c7ac3aa} TASK_BASE_DIGEST: ${TASK_BASE_DIGEST:-sha256:ac342c3d663d50165bc9ecdbfec0a70526f05cd9d546d45596ca6c97270e552e}
image: openultrasast:${OUSAST_VERSION:-dev} image: openultrasast:${OUSAST_VERSION:-dev}
volumes: volumes:
# The repository under analysis, read-only. In the long syntax, like /reports below: in the short syntax Docker # The repository under analysis, read-only. In the long syntax, like /reports below: in the short syntax Docker
+4 -4
View File
@@ -1,6 +1,6 @@
{ {
"base": "ghcr.io/norandom/ousast-task-base:base-b696c08@sha256:0f374138fcb49fef41609d323cc80b6c2324b1e798d3a2aee5c8038b8c7ac3aa", "base": "ghcr.io/norandom/ousast-task-base:base-8efad0d@sha256:ac342c3d663d50165bc9ecdbfec0a70526f05cd9d546d45596ca6c97270e552e",
"base-browser": "ghcr.io/norandom/ousast-task-base:base-b696c08-browser@sha256:09323d893d1b8a213dfa1aad6ba587566bba708713bc050d456466cf5a2421d8", "base-browser": "ghcr.io/norandom/ousast-task-base:base-8efad0d-browser@sha256:37d8c489f6aa02872ad93caf14247901fe6782f5a4bb3785f10404251823a94d",
"content": "bb23a92d2de9ff7e6e75d4b16752ec95a7d3962ee4fa06639a18a0514f639d2a", "content": "36f332b3f5d0a63d751e4780c5fb9cadd474cfd4f9c3bb6cbfb2ae97787d4cbd",
"note": "Built by task-base-image run 37358368253 from main b696c08; rebuild only when plane/Dockerfile.base, pyproject.toml or uv.lock change." "note": "Built by task-base-image run 46200304759 from main 8efad0d; rebuild only when plane/Dockerfile.base, pyproject.toml or uv.lock change."
} }