Skip to content

NOTICE: name the vendored DS-Bot tag from the pin, not v0.3.10 - #3497

Merged
Birfy merged 1 commit into
mainfrom
dev/3495-notice-ds-bot-tag
Dec 2, 2026
Merged

Birfy merged 1 commit into
mainfrom
dev/3495-notice-ds-bot-tag

Conversation

@Birfy

@Birfy Birfy commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

What changed

The root NOTICE called the vendored tree "(unmodified Fei2411/DS-Bot v0.3.10)", but runtime/ds-bot-upstream.pin.json pins tag v0.4.3 at 5a9dc8d3dc9e2dc22679a97e7028476ace62640c, and docs/reuse-audit/DS-BOT-NOTICE-REVIEW.md already carries the v0.4.3 addendum. Nothing compared the NOTICE with that tag: scripts/verify-reuse-audit-pins.py only asserted six fixed phrases in the root NOTICE, and the root NOTICE has no sha256 pin of its own.

  • NOTICE:13 now names Fei2411/DS-Bot v0.4.3.
  • scripts/verify-reuse-audit-pins.py fails when "<pin repo> <pin tag>" is absent from the root NOTICE, so a pin bump cannot leave the NOTICE behind again. The expected string is built from the pin (repo + tag), not hardcoded, so a repository or tag change is followed.

The @deepseek-ai/dsh@0.2.2-rc.1 clause at NOTICE:66 is untouched: it is the audited snapshot, and #3496 made it say that the image builds the pinned 0.2.2-rc.5, unaudited. Nothing under docs/reuse-audit/ is touched.

Evidence (local on this host, not CI)

Replayed on a clean 0bdbbfbe7cc5b77c78f84adc7b9e78e86aba9fb2 tarball; the rebuilt base tree is aacdf8ea529f4355cfb72e87a73cf4eb21861ca9, the tree GitHub reports for that commit. git apply --check rc 0, and git write-tree gives 7bd2ed12e898463955df2a773d46b0422824c5aa; the branch commit ef34496a has that tree and 2,579 entries, with exactly two blobs changed (NOTICE, verify-reuse-audit-pins.py), 2 files +11/-2.

  • Positive: python3 scripts/verify-reuse-audit-pins.py -> rc 0, 31 OK lines, including OK root NOTICE names the vendored upstream Fei2411/DS-Bot v0.4.3; python3 -m unittest tests.test_shipped_licenses -> 5 tests OK.
  • Negative 1: NOTICE:13 back to v0.3.10 -> FAIL: root NOTICE does not name the vendored upstream Fei2411/DS-Bot v0.4.3, rc 1.
  • Negative 2: pin tag to v0.4.4 -> the failure names v0.4.4, rc 1, so the gate reads the pin rather than a constant.
  • After the controls the tree is still 7bd2ed12 (no __pycache__ leak).

Scope

Slice 3 of #3495. Slice 2 (the four docs/reuse-audit files that still call 0.2.2-rc.1 current) is separate and stays out of this PR.

Refs #3495

The root NOTICE still called the vendored tree "(unmodified Fei2411/DS-Bot
v0.3.10)" while runtime/ds-bot-upstream.pin.json pins tag v0.4.3 at
5a9dc8d3dc9e2dc22679a97e7028476ace62640c. Nothing read the NOTICE for that
tag, so the notice packaged with the repository disagreed with what ships.

- NOTICE now names v0.4.3
- verify-reuse-audit-pins.py fails when "<pin repo> <pin tag>" is absent from
  the root NOTICE, so a pin bump cannot leave the NOTICE behind; the expected
  string is built from the pin, not hardcoded

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
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 2, 2026
@Birfy
Birfy added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 2fc3383 Dec 2, 2026
18 checks passed
@Birfy
Birfy deleted the dev/3495-notice-ds-bot-tag branch December 2, 2026 07:20
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