Skip to content

fix: repair two runtime acceptance reds on master - #3995

Merged
ScriptedAlchemy merged 2 commits into
masterfrom
fix/runtime-acceptance-reds
Oct 15, 2026
Merged

ScriptedAlchemy merged 2 commits into
masterfrom
fix/runtime-acceptance-reds

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Two tests in //crates/tracedecay:runtime_acceptance_suite fail on master. They have different causes.

production_lsp_negotiates_and_projects_canonical_context

The Bazel test launcher exported RUSTUP_TOOLCHAIN=toolchain.version. For the dated nightly that #3883 (f152080) pinned, rules_rust reports version = "1.100.0", and rustup reads that as a stable toolchain that is not installed:

$ RUSTUP_AUTO_INSTALL=0 RUSTUP_TOOLCHAIN=1.100.0 rustup which rust-analyzer
error: toolchain '1.100.0-x86_64-unknown-linux-gnu' is not installed

The daemon's broker then refused the rust-analyzer proxy, no semantic route mounted, and initialize returned no documentSymbolProvider. Before the pin, 1.99.0 was a valid rustup name. The launcher now exports <channel>-<iso_date> (here nightly-2026-09-27) when the toolchain is dated, and version otherwise. rust_test_environment_probe already expected a nightly- value. Until now it fell through to its stable branch.

current_codex_user_pair_projects_once_and_rejects_malformed_items

This is a stale expectation. a2a0cb1 (#3884) deliberately made a user response_item message a canonical turn beside its item_completed echo. It reversed the 9d1f430 dedupe and updated the transcript-ingest suites, but missed this test. The test now expects two projected user turns and still checks that the two malformed items project nothing. It is renamed to current_codex_user_pair_projects_each_record_and_rejects_malformed_items.

Verification

All runs used local Bazel at the PR head:

  • Both tests went from FAILED to PASSED.
  • //crates/tracedecay:runtime_acceptance_suite PASSED.
  • //scripts:rust_test_environment_probe PASSED.
  • Clippy on the suite and //crates/tracedecay:rustfmt_check_2024 are clean.

Devin Review

rules_rust reports a dated nightly's version as its compiler semver
(1.100.0 for nightly-2026-09-27). The test launcher exported that as
RUSTUP_TOOLCHAIN, which rustup reads as an uninstalled stable
toolchain, so the daemon's rust-analyzer proxy was refused, no semantic
route mounted, and production_lsp_negotiates_and_projects_canonical_context
negotiated no documentSymbolProvider. Regressed with the nightly pin in
f152080 (#3883); 1.99.0 had been a valid rustup name.
a2a0cb1 (#3884) made a user response_item message a canonical turn
beside its item_completed echo and updated the transcript ingest
suites, but missed this runtime acceptance test, which still asserted
the 9d1f430 dedupe. The malformed items still project nothing.
@changeset-bot

changeset-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: def954d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔍 Devin Review: 2 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@ScriptedAlchemy
ScriptedAlchemy merged commit 4df9017 into master Oct 15, 2026
3 of 5 checks passed
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