Skip to content

Fix main CI: repoint emit-directive manual test import to relocated rust_test module - #6458

Merged
briansrls merged 1 commit into
mainfrom
session/clever-ferret-210
Jul 10, 2026
Merged

briansrls merged 1 commit into
mainfrom
session/clever-ferret-210

Conversation

@briansrls

@briansrls briansrls commented Jul 10, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Main CI is red (run 29127250131 at 54e4c19 / #6451): the discovery corpus fails with

src/v2/test/claim/manual/emit_directive_rust_test.dag:7:3: error: name 'rust_emit_directive_emitted_call' not found in module 'v2.extdeps.languages.rust'
src/v2/test/claim/manual/emit_directive_rust_test.dag:8:3: error: name 'rust_emit_directive_target_model' not found in module 'v2.extdeps.languages.rust'

Root cause

#6409 relocated the emit-host test scaffolding (including rust_emit_directive_emitted_call and rust_emit_directive_target_model) from v2.extdeps.languages.rust to the new v2.extdeps.languages.rust_test module. Its move criterion was "consumed only by *_test.dag files" — which correctly included this manual test as a consumer — but the manual test's import block was never repointed.

The break was latent because the manual discovery corpus (src/v2/test/claim/manual) wasn't CI-enrolled until the #6438 discovery flip, and after the flip the affected-set selection skipped the file on intervening PRs. #6451's broad diff pulled it into the selected set and it failed on main.

Fix

One-line: repoint the import to v2.extdeps.languages.rust_test. Both names exist there (defined at rust_test.dag:3327 / :3371); a test importing test scaffolding is exactly the consumer class #6409's criterion sorted into that module.

Swept all other importers of v2.extdeps.languages.rust for names missing from rust.dag — the remaining flags are enum variants (Bits32, PanicOnOverflow, TwoComplementWrap, RustGramBuild1State*), all still defined in rust.dag. This is the only broken import.

Note: the affected-set-falsifier failure at 434f1d3 is a separate infra issue (release-bin build timed out at 45 min), not this resolve error.

Verification

  • RED: main CI run 29127250131 (the exact resolve failure above).
  • GREEN: local claim_batch --entry src/v2/test/claim/manual/emit_directive_rust_test.dag receipt to follow in a comment.

🤖 Generated with Claude Code

…ust_test module

#6409 relocated rust_emit_directive_emitted_call / rust_emit_directive_target_model
from v2.extdeps.languages.rust to v2.extdeps.languages.rust_test (test-only closure),
but src/v2/test/claim/manual/emit_directive_rust_test.dag still imported them from
the old module. Latent since #6409 (the manual discovery corpus was not CI-enrolled
until the #6438 discovery flip), surfaced when #6451's affected set selected the file.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gunbai-bot gunbai-bot Bot changed the title ci is failing on main Fix main CI: repoint emit-directive manual test import to relocated rust_test module Jul 10, 2026
@gunbai-bot

gunbai-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Verification receipt (local, release claim_batch)

GREEN (fixed file, this branch): all 5 test fns in src/v2/test/claim/manual/emit_directive_rust_test.dag pass —

PASS emit_directive_rust_error_emits_eprintln_holds
PASS emit_directive_rust_message_flows_holds
PASS emit_directive_rust_escapes_string_literal_holds
PASS emit_directive_rust_severity_invariant_holds
PASS emit_directive_rust_distinct_from_bash_holds
[resolve-summary] 1 resolve(s) in 5501ms; 5 witness(es) in 18ms

RED control (pre-fix file from origin/main, same binary, same command):

claim_batch: resolve failed for src/v2/test/claim/manual/emit_directive_rust_test.dag:
src/v2/test/claim/manual/emit_directive_rust_test.dag:7:3: error: name 'rust_emit_directive_emitted_call' not found in module 'v2.extdeps.languages.rust' (imported by 'v2.test.manual.emit_directive_rust')
src/v2/test/claim/manual/emit_directive_rust_test.dag:8:3: error: name 'rust_emit_directive_target_model' not found in module 'v2.extdeps.languages.rust' (imported by 'v2.test.manual.emit_directive_rust')

Identical to the main CI failure (run 29127250131). The one-line repoint is the discriminating variable.

🤖 Generated with Claude Code

@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 10, 2026 23:09
@briansrls
briansrls merged commit 2b41e23 into main Jul 10, 2026
4 of 6 checks passed
@briansrls
briansrls deleted the session/clever-ferret-210 branch July 10, 2026 23:11
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