Skip to content

release canaries: a project's commands do not see XLINGS_BIN - #799

Merged
Sunrisepeak merged 1 commit into
mainfrom
fix/canary-xlings-bin
Oct 11, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
fix/canary-xlings-bin

Conversation

@Sunrisepeak

@Sunrisepeak Sunrisepeak commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

The xlings canary blocked the 2026.10.11.1 release.

Cause. The canary job exports XLINGS_BIN, the released xlings that bootstraps mcpp, to every command of the project. xlings' test kit (modules/testkit, xlings_binary()) reads that name as the binary under test. Its tests therefore drove the released xlings 2026.10.10.2 instead of the xlings they had just built (main, 2026.10.11.2).

Effect. test_subos_new_template reads edition from instance.json. The released xlings does not write that field, so the test failed with Assertion it != end().

Reproduced locally:

  • With an older xlings as XLINGS_BIN, the same assertion fires.
  • Without XLINGS_BIN, the test passes.

The same result with the candidate mcpp and with the released one: the cause is not mcpp.

Fix. mcpp keeps its xlings through MCPP_VENDORED_XLINGS, and the project's commands run without XLINGS_BIN.

Control. The canary at the 2026.10.10.2 tag (the released mcpp) fails the same test the same way (run 38106327920). The cause is the canary environment, not the candidate mcpp.

The canary job exported XLINGS_BIN, the released xlings that bootstraps mcpp,
to every command of the project. xlings' test kit reads the name as the
binary under test, so its tests drove the released xlings instead of the one
they had just built. With xlings 2026.10.11.2, test_subos_new_template read
an instance.json the released xlings does not write, and the canary blocked
the 2026.10.11.1 tag. mcpp keeps its xlings through MCPP_VENDORED_XLINGS;
the project's commands run without XLINGS_BIN.
@Sunrisepeak
Sunrisepeak merged commit ed79c7c into main Oct 11, 2026
63 checks passed
@Sunrisepeak
Sunrisepeak deleted the fix/canary-xlings-bin branch October 11, 2026 05:31
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.

1 participant