Skip to content

add box: ubuntu/trusty-web-updated (wend#47) - #78

Merged
TusanHomichi merged 4 commits into
mainfrom
claude/box-trusty-web-updated
Oct 13, 2026
Merged

TusanHomichi merged 4 commits into
mainfrom
claude/box-trusty-web-updated

Conversation

@TusanHomichi

Copy link
Copy Markdown
Member

Before: every trusty box CI builds comes from the release pocket only. A fully updated trusty server, the kind people actually run, was never replayed, which is how #47 slipped through.

After: ubuntu/trusty-web-updated is trusty-web plus every trusty-updates and trusty-security update and ubuntu-advantage-tools 19.7ubuntu0.2. Its customize asserts that u-a-t wrote the Pin-Priority: never ESM pin, so the box can't quietly stop testing #47's case. The route's own hops still read release pockets only.

The box goes in by itself, apart from fires_on claims (the AGENTS rule 3 exception). It claims itself on the route fixes that fire on it:

meta is outside a fix's id, so nothing is repinned. The box comes after the fix: without it, this box's replay rolls back at xenial on apt-get autoremove --purge (checked locally), so a box-first PR couldn't go green.

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 15
routes/ubuntu/trusty-to-resolute.toml ubuntu/trusty-db pass Ubuntu 26.04 LTS (resolute) 1 16
routes/ubuntu/trusty-to-resolute.toml ubuntu/trusty-web-updated pass Ubuntu 26.04 LTS (resolute) 8 14

Decoy check: passed

Closes #47 (chroot tier; a real-VM rerun on remi can follow).

🤖 Generated with Claude Code

https://claude.ai/code/session_01F6HrWAW4tB9vuYRQRN86zE


Generated by Claude Code

trusty-web with every trusty-updates and trusty-security update and
ubuntu-advantage-tools 19.7ubuntu0.2, whose ESM pin xenial's apt refuses.
Claims it in the fires_on of the route's fixes that fire on it (AGENTS rule 3).

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]>
@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-13T15:38:00.079997Z 5806d4e 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 4cc3606.

  • Checks: check.py (64 fixes, 4 routes, 9 boxes, 33 runs) and wend check pass on a clean archive of the head.
  • Box: identical to trusty-web except the header, the summary and 7 customize lines ([roles], [vm], start_hook, debconf and packages are unchanged). The sed adds trusty-updates and trusty-security from the same mirror, then dist-upgrade and u-a-t run under set -e. The Pin-Priority: never assert fails the build if u-a-t ever stops writing the pin. trusty-updates/main ships u-a-t 19.7ubuntu0.2 as of today. The first hop's set_release drops the extra pockets.
  • Fixes: only meta changed in the 8 files (AGENTS rule 3). Every content id is still pinned, and the route id c640578a… is unchanged.
  • Runs: all pass with 0 model calls. trusty-web-updated fires trusty-esm-pins and php7.0-module on xenial, then the same fixes as trusty-web. For every fix, the boxes it fired on equal its fires_on.

Nit, not blocking: this is the only box built from moving pockets, so a rebuild can drift. The pin assert guards the part that matters, and the hops stay on the frozen release pocket.


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: 4cc3606593

ℹ️ 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".

packages = ["openssh-server", "apache2", "libapache2-mod-php5", "php5-cli", "postfix", "cron", "rsync", "sudo", "python", "python3", "perl", "curl", "ntp", "logrotate", "less"]
customize = '''
set -e
sed -n 's/^deb \([^ ]*\) trusty \(.*\)$/deb \1 trusty-updates \2\ndeb \1 trusty-security \2/p' /etc/apt/sources.list > /tmp/pockets

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Make the updated box buildable in the VM tier

For Trusty VM installs, tools/vm.py deliberately routes the installer through PocketProxy, which returns 404 for all -updates and -security requests. The source entries created here therefore cannot fetch ubuntu-advantage-tools 19.7ubuntu0.2, so the set -e customization fails at its install step (and the later release-pocket validation would also reject an updated package). Consequently python3 tools/vm.py build ubuntu/trusty-web-updated cannot create the advertised [vm] fixture or replay it on a real VM.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

True. PocketProxy 404s every -updates/-security path on purpose (it exists so the other trusty VM boxes stay release-pocket), so tools/vm.py build ubuntu/trusty-web-updated can't build this box today. This PR is the chroot tier only, as #47's assignment asked. The VM rerun needs a spec change: the box would declare the pockets it wants, and PocketProxy and the release-pocket check would honour them. A box PR can't touch tools/ (AGENTS rule 2), so that goes in its own PR. [vm] stays here so the box is ready once it lands. Leaving this thread open until that follow-up exists.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Independent Claude review: sign-off on head 5806d4e.

  • Merge: 5806d4e (bd04540 + main 2652778, signed off) has exactly the tree git merge-tree produces, so nothing was hand-edited.
  • Scope: the PR's own diff against main is still the box, fires_on-only edits on 8 fixes, and 3 runs. bd04540 removed found_on. meta is outside the content id, so the route pin and the runs still match.
  • Checks: check.py (64 fixes, 4 routes, 9 boxes, 33 runs) and wend check pass on a clean archive.
  • Main's change: main's adapters/ubuntu.toml change only adds [runtimes.<release>] data, which no replay code reads. The hop commands are unchanged, and CI's replays will confirm.

Generated by Claude Code

@github-actions github-actions Bot added the needs-claude-review Waiting on the Claude review layer label Oct 13, 2026
@TusanHomichi
TusanHomichi merged commit 1e3777a into main Oct 13, 2026
9 checks passed
@TusanHomichi
TusanHomichi deleted the claude/box-trusty-web-updated branch October 13, 2026 15:48
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.

ubuntu: a fully updated trusty box fails the xenial hop on ubuntu-advantage-tools' ESM pin

2 participants