Skip to content

hotfix: remove 4 orphaned #[cfg(test)] attributes breaking clippy on main - #6141

Merged
briansrls merged 1 commit into
mainfrom
test-migration/fix-orphaned-cfg-test
Jul 2, 2026
Merged

briansrls merged 1 commit into
mainfrom
test-migration/fix-orphaned-cfg-test

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Main is red on the rust_tests gate (clippy::duplicated_attributes under -D warnings): the four merged test-migration deletion PRs (#6131 #6132 #6133 #6139) each removed a mod <x>_test; line from src/v1/tests/src/lib.rs but left that line's own #[cfg(test)] attribute orphaned, stacking it onto the following declaration. My error in those PRs (sed deleted only the mod line); this removes the 4 duplicate attributes. Verified: cargo clippy -p v1-compiler-tests --all-targets -- -D warnings green at this head.

Also note: per project memory, clippy was previously believed non-CI-gated; the live rust_tests job (v1 rust gate (fmt + clippy + nextest)) DOES run clippy now — the failures on #6132/#6133 rust_tests jobs are this exact break.

🤖 Generated with Claude Code

…ion mod deletes

PRs #6131/#6132/#6133/#6139 deleted 'mod <x>_test;' lines but left each line's
own #[cfg(test)] attribute, which now stacks onto the next declaration —
clippy::duplicated_attributes reds the v1 rust gate (fmt+clippy+nextest) on
main. Pure attribute cleanup, no behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 2, 2026
gunbai-bot Bot pushed a commit that referenced this pull request Jul 2, 2026
…tness authored)

Test 1 (currency.dag resolves) is covered by the floor batch-1
dsl_compile_clean_gate; test 2's cost_projection_float_witness is now
floor-enrolled via the new dsl/test/claim/cost_estimate_float_witness_test.dag
marker witness. Also dedups the orphaned #[cfg(test)] attributes inherited
from main (#6141 overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@briansrls
briansrls merged commit e7a8711 into main Jul 2, 2026
1 of 2 checks passed
@briansrls
briansrls deleted the test-migration/fix-orphaned-cfg-test branch July 2, 2026 06:40
gunbai-bot Bot pushed a commit that referenced this pull request Jul 2, 2026
cron_tag_upsert_protocol_keystone_holds is now floor-enrolled via the new
dsl/test/claim/cron_tag_witness_test.dag marker witness. The v1 module's
second test (in-memory got==want -> got!=want mutation check) is carried as
this PR's perturb->red receipt instead. mod line removed together with its
own #[cfg(test)] attribute; inherited duplicate attributes deduped (#6141
overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jul 2, 2026
…red)

repeat_string count semantics + indent-style padding are now floor-enrolled
via dsl/test/claim/render_repeat_string_witness_test.dag. mod line removed
with its #[cfg(test)] attribute; inherited duplicate attributes deduped
(#6141 overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 2, 2026
…nesses; v1 module shrunk to 2 residual tests (#6140)

* wip: fn_as_value floor witnesses

* fix chained access to record equality (mirrors v1 Record assertion)

* PERTURB (temporary): unify_generics never binds type params

* Revert "PERTURB (temporary): unify_generics never binds type params"

This reverts commit 4b62e06.

* 5-test-migration: migrate fn_as_value_test — 6 checks to new floor witness file, module shrunk to 2 residual tests

New src/v2/test/claim/manual/fn_as_value_test.dag carries the six migratable
checks as marker-discovered test fns (first-class fn binding + generic
instantiation family); the two fold_list checks were already floor-covered by
generic_instantiation_runtime_test.dag. Residual v1 tests (documented in the
module header): the Rust-loader-coupled scoped-entry test and the negative
fail-closed test blocked on the inert ExpectFail floor mechanism.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* WIP: 5-test-migration — v1 burn-down: migrate v1 Rust test modules (~90 modul

* dedup orphaned #[cfg(test)] attributes inherited from merged deletion PRs (see #6141)

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 2, 2026
…harness tests deleted; module shrunk to pinned-harness residual (#6142)

* PERTURB (temporary): reflection drops the first nullary arm

* Revert "PERTURB (temporary): reflection drops the first nullary arm"

This reverts commit 9508fa3.

* 5-test-migration: shrink coproduct_reflection_conformance_test to its pinned-harness residual

Tests 2-4 were duplicate harnesses invoking floor-enrolled witnesses
(coproduct_reflection_conformance_test.dag's 4 test fns +
concept_index_enumeration_test.dag's concept_index_enumeration_witnesses).
Receipts: 5/5 PASS via claim_batch; perturb at the live realization layer
(coproduct_reflection.rs eval_coproduct_nullary_inhabitants skipping the
first arm) reds conformance + nullary-set witnesses while the arm-set-distinct
control stays green; perturb commit reverted in-branch. Residual test 1 scans
v1_interpreter.rs for intercept wiring — a pinned-harness fact.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* dedup orphaned #[cfg(test)] attributes inherited from main (fix lands in #6141)

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 2, 2026
…v1 module deleted (#6143)

* wip: cost_estimate float witness

* PERTURB (temporary): billable_hours multiplies -> adds

* Revert "PERTURB (temporary): billable_hours multiplies -> adds"

This reverts commit 4fe27ac.

* 5-test-migration: delete v1 money_carrier_cost_witness_test (floor witness authored)

Test 1 (currency.dag resolves) is covered by the floor batch-1
dsl_compile_clean_gate; test 2's cost_projection_float_witness is now
floor-enrolled via the new dsl/test/claim/cost_estimate_float_witness_test.dag
marker witness. Also dedups the orphaned #[cfg(test)] attributes inherited
from main (#6141 overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 2, 2026
…6145)

* wip: cron_tag floor witness

* PERTURB (temporary): invert cron_tag verify comparison

* Revert "PERTURB (temporary): invert cron_tag verify comparison"

This reverts commit ea9e7f6.

* 5-test-migration: delete v1 cron_tag_test (floor witness authored)

cron_tag_upsert_protocol_keystone_holds is now floor-enrolled via the new
dsl/test/claim/cron_tag_witness_test.dag marker witness. The v1 module's
second test (in-memory got==want -> got!=want mutation check) is carried as
this PR's perturb->red receipt instead. mod line removed together with its
own #[cfg(test)] attribute; inherited duplicate attributes deduped (#6141
overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jul 2, 2026
…eleted (#6147)

* wip: render_repeat floor witnesses

* PERTURB (temporary): repeat_string_loop decrements by 2

* Revert "PERTURB (temporary): repeat_string_loop decrements by 2"

This reverts commit 0cb07b3.

* 5-test-migration: delete v1 render_repeat_test (floor witnesses authored)

repeat_string count semantics + indent-style padding are now floor-enrolled
via dsl/test/claim/render_repeat_string_witness_test.dag. mod line removed
with its #[cfg(test)] attribute; inherited duplicate attributes deduped
(#6141 overlap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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