Skip to content

route: ubuntu trusty -> resolute drops u-a-t's trusty ESM pin before xenial (1 new fix, wend#47) - #70

Merged
TusanHomichi merged 4 commits into
mainfrom
claude/trusty-esm-pins-route
Oct 13, 2026
Merged

TusanHomichi merged 4 commits into
mainfrom
claude/trusty-esm-pins-route

Conversation

@TusanHomichi

Copy link
Copy Markdown
Member

Before: a fully updated trusty box (trusty-updates and trusty-security, ubuntu-advantage-tools 19.7ubuntu0.2) fails the xenial hop at apt-get autoremove --purge. Xenial's apt refuses u-a-t's Pin-Priority: never pin.

After: a new fix, trusty-esm-pins, runs apt.drop-esm-pins (merged in #66) with release = "trusty" in the xenial hop's pre step. It only runs when /etc/apt/preferences.d/ubuntu-esm-infra-trusty holds Pin-Priority: never. The fix is pinned in routes/ubuntu/trusty-to-resolute.toml.

The fix claims no box yet (fires_on = []). Neither existing trusty box has the pin, so it stays off both and the decoy check covers that. The box that needs it, ubuntu/trusty-web-updated, comes in its own PR next and adds itself to fires_on (AGENTS rule 3's exception). It can't come first: a box-only PR replays this route on the new box, and that replay fails at xenial until this fix is pinned.

Local evidence on that box, built from the box file in the next PR:

Evidence (from ./wend verify)

route box result reached fixes fired minutes
routes/ubuntu/trusty-to-resolute.toml ubuntu/trusty-web pass Ubuntu 26.04 LTS (resolute) 7 19
routes/ubuntu/trusty-to-resolute.toml ubuntu/trusty-db pass Ubuntu 26.04 LTS (resolute) 1 21

Decoy check: passed

Part of #47.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F6HrWAW4tB9vuYRQRN86zE


Generated by Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T14:25:59.389665Z 1ca1665 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Copy link
Copy Markdown
Member Author

Independent Claude review: sign-off on head c9ab8ab.

  • Ids: check.py and wend check pass on a clean archive of the head. The fix's content id sha256:b3112f47…e711 equals the route pin, and meta is outside the id, so the box PR's fires_on addition needs no repin.
  • Runs: both runs record the new route id, pass with 0 model calls and leave the InRelease pins unchanged. trusty-esm-pins fires on neither trusty-web nor trusty-db, which the decoy check confirms.
  • Local evidence: on the fully updated box, the route with this fix passes and the fix fires on xenial. Without it, the box fails at xenial's apt-get autoremove --purge, which is exactly ubuntu: a fully updated trusty box fails the xenial hop on ubuntu-advantage-tools' ESM pin #47.
  • Gate: file-contains on u-a-t's pin file with Pin-Priority: never is as narrow as it gets. The op itself refuses anything that isn't u-a-t's exact unowned file.
  • fires_on = []: right for now. The box must follow this PR, because its replay fails without the fix.

Nit, not blocking: add found_on = "ubuntu/trusty-web-updated" with the box PR.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c9ab8abcc7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ty (review)

Drops this PR's runs for the superseded route id; wend verify writes new ones.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01F6HrWAW4tB9vuYRQRN86zE
Signed-off-by: Claude <[email protected]>
@github-actions github-actions Bot added the needs-claude-review Waiting on the Claude review layer label Oct 13, 2026

Copy link
Copy Markdown
Member Author

Independent Claude review: sign-off on head 1ca1665.

Since the c9ab8ab sign-off:

  • 9bd0915: the gate is now any of Pin-Priority: never in ubuntu-esm-infra-trusty or the legacy ubuntu-esm-trusty, and the route is repinned.
  • 1ca1665: fresh runs.

Checks on this head:

  • Ids: check.py and wend check pass on a clean archive. The fix id sha256:3652e40d… equals the route pin.
  • Runs: both new runs record route id sha256:c640578a…, pass with 0 model calls and leave the InRelease pins unchanged. trusty-esm-pins fires on neither trusty-web nor trusty-db.
  • Predicate: any compiles through pred_sh to ( grep -qF … infra-trusty ) || ( grep -qF … esm-trusty ). It is false when neither file exists, and it covers the same names the op handles.

Non-blocking: the fully updated box's local replay used the earlier fix id. The new gate keeps that clause, so the box PR's CI replay will confirm it fires.


Generated by Claude Code

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1ca1665f33

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@TusanHomichi
TusanHomichi merged commit 332fda8 into main Oct 13, 2026
8 checks passed
@TusanHomichi
TusanHomichi deleted the claude/trusty-esm-pins-route branch October 13, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-claude-review Waiting on the Claude review layer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants