Skip to content

fix(updater): scope bot commits to engine.py; drop unconsumed root component.wasm - #244

Merged
robcohen merged 1 commit into
mainfrom
fix/243-updater-cleanup
Jul 4, 2026
Merged

robcohen merged 1 commit into
mainfrom
fix/243-updater-cleanup

Conversation

@robcohen

@robcohen robcohen commented Jul 4, 2026

Copy link
Copy Markdown
Member

Executes #243 (post-review scope — claim 1 was retracted after verifying the #220 gate is sound):

  1. add-paths: engine.py on create-pull-request — the root cause of the stray files: without scoping, the action committed every dirty working file, which is how root component.wasm/.sha256 and even the bot's own pr-body.md became tracked. All three removed (verified consumed by nothing: CI downloads by RUSTLEDGER_VERSION + verifies against the release's own sha asset; runtime loads package data with env override + download fallback) and gitignored. ~6 MB sdist weight per release gone; the silent-staleness class (v0.19.1 pin surviving two releases) is structurally closed.
  2. PR-body wording: 'WIT version is unchanged' → 'matches the host bindings' — the comparison is component-vs-host-_WIT_VERSION (correct and safety-relevant), and the old phrasing invited the misreading that spawned this issue.

Closes #243

🤖 Generated with Claude Code

…mponent.wasm

Executes #243 (post-review scope):

- create-pull-request gains add-paths: engine.py is the only intended
  repo change. Without scoping it committed every dirty working file —
  which is how root component.wasm/.sha256 and even the bot's own
  pr-body.md became tracked. Those are now removed (verified consumed
  by NOTHING: CI downloads by RUSTLEDGER_VERSION and verifies against
  the release's own sha asset; the runtime loads package data with an
  env override and a download fallback) and gitignored so manual runs
  cannot re-introduce them. They cost ~6 MB of sdist weight per
  release and went silently stale across two releases.

- PR-body wording: 'WIT version is unchanged' misread as
  unchanged-across-the-bump (it compares the component against the
  HOST BINDINGS' _WIT_VERSION — the #220 gate is sound). Now says
  'matches the host bindings'.

Closes #243

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@robcohen
robcohen merged commit dd74a52 into main Jul 4, 2026
28 checks passed
@robcohen
robcohen deleted the fix/243-updater-cleanup branch July 4, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update-rustledger: clarify WIT-gate wording; drop unconsumed root component.wasm

1 participant