Skip to content

NOTICE: name the dsh version the image actually builds - #3496

Merged
Birfy merged 1 commit into
mainfrom
dev/3495-notice-shipped-dsh-version
Dec 2, 2026
Merged

Birfy merged 1 commit into
mainfrom
dev/3495-notice-shipped-dsh-version

Conversation

@Birfy

@Birfy Birfy commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

What changed

The root NOTICE told readers that the runtime image "additionally installs ... @deepseek-ai/dsh@0.2.2-rc.1 and its production direct dependencies". It does not. .github/workflows/flybot-runtime-image.yml:46 reads dsh from runtime/ds-bot-upstream.pin.json (0.2.2-rc.5), :55 exports DSH_VERSION, :62 passes it as a build-arg, and runtime/flybot-image/Dockerfile installs @deepseek-ai/dsh@${DSH_VERSION} — and since #3491 an empty value fails the build instead of falling back.

Nothing compared the NOTICE with the pin, and the root NOTICE has no sha256 pin of its own, so a licensing statement could name a version the image does not install indefinitely.

  • NOTICE:22 names @deepseek-ai/dsh and points at runtime/ds-bot-upstream.pin.json for the version, naming 0.2.2-rc.5 as the version at this notice. The MPL-2.0 @deepseek-ai/libreoffice-kit obligations are untouched.
  • NOTICE:66 keeps the rc.1 review as the audited snapshot and says the image now builds the pinned 0.2.2-rc.5, whose npm tarball correspondence with the git tag's compiled JavaScript remains explicitly unverified.
  • scripts/verify-reuse-audit-pins.py gains a gate: it fails when @deepseek-ai/dsh@<pin dsh> is absent from the root NOTICE, so a pin bump cannot leave the NOTICE behind again.

No license text changes, no dependency changes, no new claim that any version was audited, and no claim that the image is a public redistributable release.

Evidence (local on this host, not CI)

Replayed on a clean b380e626fdc4bcb879c0d3c4af85167200e3c0fe tarball; the rebuilt base tree is c6a01ad43494362edca297e5f1ba3f6097835171, which is the tree GitHub reports for that commit. The patch applies with git apply --check rc 0 and git write-tree gives aacdf8ea529f4355cfb72e87a73cf4eb21861ca9; the branch commit 5f8fb7b293bef4e5ea59d520e41ec5043cf18819 has that tree, and exactly two blobs changed against the base (NOTICE 70707b1 -> 18dd7141, verify-reuse-audit-pins.py 404b39c1 -> b08134c3).

  • Positive: python3 scripts/verify-reuse-audit-pins.py -> rc 0, 30 OK lines, including OK root NOTICE names the shipped DSH version @deepseek-ai/dsh@0.2.2-rc.5; python3 -m unittest tests.test_shipped_licenses -> 5 tests OK.
  • Negative: replacing the version string in the NOTICE -> FAIL: root NOTICE does not name the shipped DSH version @deepseek-ai/dsh@0.2.2-rc.5, rc 1.

Scope

Slice 1 of the drift described in #3495: the NOTICE and its gate. The same "current = rc.1" phrasing still stands in docs/reuse-audit/README.md, pins.json, SHIPPED.md and INVENTORY.md; that is a separate slice and is listed in the issue.

Refs #3495

The root NOTICE said the runtime image installs @deepseek-ai/dsh@0.2.2-rc.1.
It does not: the workflow reads dsh from runtime/ds-bot-upstream.pin.json
(0.2.2-rc.5), exports DSH_VERSION and passes it as a build-arg, and the
recipe installs @deepseek-ai/dsh@${DSH_VERSION}. Nothing compared the two.

- NOTICE now points at the pin for the version and names 0.2.2-rc.5 as the
  version at this notice
- the rc.1 review stays as the audited snapshot, with the shipped rc.5
  stated as unaudited and its tarball correspondence still unverified
- verify-reuse-audit-pins.py fails when @deepseek-ai/dsh@<pin dsh> is absent
  from the root NOTICE, so a pin bump cannot leave the NOTICE behind

Refs #3495
@github-actions github-actions Bot added the risk:T3 Risk tier T3 (needs a human approval), set by the controller from the diff label Dec 2, 2026
@Birfy
Birfy added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 0bdbbfb Dec 2, 2026
18 checks passed
@Birfy
Birfy deleted the dev/3495-notice-shipped-dsh-version branch December 2, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:T3 Risk tier T3 (needs a human approval), set by the controller from the diff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant