Repository navigation
fix(computers): a release's published image survives a newer composer, and a shipped app's protocol pin stands - #856
Merged
earakely-scale merged 2 commits intoNov 21, 2026
Conversation
…, and a shipped app's protocol pin stands A deploy recomposed any build another composer recorded, including the image a release published that the composer had pulled by digest. A promoted chromium from one release could then only fail on a worker of a later one: its files pin that release's protocol, and the composer adds its own exact pin to every app's venv, so pip refused both (prod, Nov 20). The failure then replaced the ready record, since a stale record ranks below anything. - stale(): a record marked published is never stale, whatever composer recorded it, so deploys boot it, the rank keeps it and the computer artifact keeps it. User-composed builds still rebuild on a composer change. - A published build recorded but not yet probed is probed as it is, never composed again. - _wants(): a layer whose requirements pin the protocol exactly (==, ===) adds no protocol of its own, from this release or this checkout's source; a floor or a range still gets it. FD-6454 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n pins nothing, and every form keeps the pin Greptile on #856: - An app pinning the protocol without the app extra lost the server dependencies the composer's added [app] requirement brought. The composer now adds the protocol with the extra at the version the app pins. - A pin behind an environment marker may not apply where the venv is built, so it no longer counts as a pin. - The macOS VM bundle, Windows disk and Omarchy disk parts take the same rule as a container (_protocol_spec), rather than adding this release's pin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
earakely-scale
deleted the
edgararakelyan/fd-6454-a-promoted-chromium-stops-deploying
branch
November 21, 2026 04:48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A build the composer pulled from a release's published image now survives a later release's composer, and an app whose requirements pin the protocol exactly keeps its pin.
composed.stale(): a record markedpublishedis never stale, whatever composer recorded it. A deploy boots it,_rankkeeps it above a failure, andRecord.built()keeps it in the env's computer artifact. User-composed builds still rebuild when the composer's code changes, as before.composer._composed(): a published build recorded but not yet probed is probed as it is, never composed again, so a later composer can't swap the release's image for a worker build.composer._protocol_spec(), used by_wants()and the macOS, Windows and Omarchy part builders alike: when a layer's requirements pinagentenv-framework-protocolexactly (==or===, no wildcard, no marker), an app gets the protocol with itsappextra at that pinned version, and a driver gets nothing added. That replaces this release's pin or a checkout's source. A floor, a range or a pin behind a marker still gets them, so user apps keep the composer's SDK.Why
On Nov 20 every prod deploy of an env using
chromiumv2 was refused with "chromium has no ready build to deploy; its builds are {'container/amd64': 'failed', 'container/arm64': 'failed'}"..github/scripts/shipped_bundles.py), so v2's files sayagentenv-framework-protocol==0.1.597."published": true).agentenv-framework-protocol[app]==0.1.618to the app's venv, and pip refused: "The user requested agentenv-framework-protocol==0.1.618 / The user requested agentenv-framework-protocol==0.1.597".The same two pins also broke a new computer composed with the chromium v2 app.
Design note with the decisions: https://claude.ai/artifact/A9MX6akNmcRRhsAdjbkjd9 (FD-6454).
Tests
tst/unit/env/envs/test_computer_env.py:tst/unit/env/envs/, bundle register and folder tests, published images, release protocol pins and drivers: 1416 passed, 1 failed. The failure istest_disk_recipe.py::test_a_windows_install_boots_its_iso_first_pressing_enter_and_finds_its_answers_on_a_removable_drive, which fails the same way on main here.Cross-release e2e (local stores and Docker, arm64 native, amd64 skipped)
Two real installs share one local store: release 0.9.1607 from the index (composer
sha256:f855b0b6, the one that failed in prod) and this branch (sha256:f4cb5f77). Each control runs main's code plus a comment-only change tocomposed.py, so its composer differs while its logic doesn't, against a copy of the store.agent-env runof a bundle deployingchromium, under 0.9.1607reusing the image agent-env's release published: arm64ready, amd64unverified, bothpublished: trueagent-env env deploy --id @local/agentenv-framework/browsers/chromium --version 1failed at resolve: ... ResolutionImpossible, thenhas no ready build to deploy; its builds are {'container/amd64': 'failed', 'container/arm64': 'failed'}, as in prodghcr.io/scaleapi/agentenv-chromium@sha256:cef62c84…, no compose, the record unchangedagent-env env buildof a desktop 0.9.1607 composed with chromium v1 as its appfailed at resolve: ... ResolutionImpossible, ascomputer-deft-wolf-uwkdctdid in prodreadyin 110 s🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no outstanding actionable issues were found.Summary
Keeps published images usable after the composer changes and preserves an app’s exact protocol version across supported build forms.
Reviews (5) · Last reviewed commit: "fix(computers): a pinned app keeps its a..." · Reviewed by Greptile