Repository navigation
fix(tests): persona_command_inbound_pump fixture uses ..Default::default() — #1952 broke the explicit-None initializer - #3692
Merged
Conversation
…ult() — #1952's new sampling knobs broke the explicit-None initializer TextGenerationRequest gained frequency_penalty + repeat_last_n in #1952; five sibling integration tests were updated, this one was not, and the target stopped compiling. Nobody noticed because every required-features=["test-fixtures"] target is invisible to CI (card 9d249bd6). Found by an IntelMac cold-start `cargo check --tests --features test-fixtures` on canary f6c177c. The struct derives Default, so the fixture now uses struct-update syntax instead of enumerating every field — the next knob can't break it. airc card: 0797e204 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
joelteply
enabled auto-merge (squash)
September 4, 2026 16:35
Contributor
Author
|
Adversarial agent review (per repo doctrine: agent reviews count as approval): APPROVE. Verified: |
joelteply
added a commit
that referenced
this pull request
Sep 4, 2026
…ault() — and the second test #1952 broke compiles again (#3695) Seven integration fixtures enumerated every field of TextGenerationRequest so each new sampling knob broke them. #1952 broke two: #3692 fixed persona_command_inbound_pump; airc_remote_inference_end_to_end (the cross-grid e2e proof) was still red on canary and is fixed here. The other five kept only their real values (system_prompt / model / provider / temperature / max_tokens / purpose / persona_id) and take ..Default::default() for the rest — 82 explicit-None lines gone, nested ChatMessage literals untouched (no Default there). Verified: cargo check -p continuum-core --tests --features test-fixtures (Intel Mac features) clean across all targets. airc card: bf9409ca Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Fable 5.1 <[email protected]>
joelteply
added a commit
that referenced
this pull request
Sep 4, 2026
…uilt by nobody (#3693) Every [[test]] in continuum-core/Cargo.toml with required-features = ["test-fixtures"] is silently skipped by cargo when the feature is absent. The linux job runs `cargo test --lib` (never touches tests/) and the windows job ran `cargo check --lib --tests` without the feature — so airc_remote_inference_end_to_end, persona_command_inbound_pump, the architecture_* battery, etc. were compiled by no CI job at all. #1952 broke persona_command_inbound_pump's fixture and canary stayed green until an IntelMac cold-start check found it (#3692). Add `--features test-fixtures` to the windows compile-only check. It is the required-status job, so a fixture-gated target that stops compiling now blocks the merge that broke it. Compile-only: no test execution, one extra check pass. airc card: 9d249bd6 Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE Co-authored-by: Claude Fable 5.1 <[email protected]>
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
tests/persona_command_inbound_pump.rsstopped compiling: #1952 addedfrequency_penalty+repeat_last_ntoTextGenerationRequestand updated five sibling integration tests, but missed this one.Fix: the struct derives
Default, so the fixture now uses struct-update syntax (..Default::default()) instead of enumerating every field — the next sampling knob can't break it.Why nobody noticed
Every
[[test]]withrequired-features = ["test-fixtures"]is compiled by nobody in CI: the windows job runscargo check --lib --testswithout--features test-fixtures, and the linux job runscargo test --lib(no integration targets). Canary CI stayed green onf6c177c6cwhile this target was red. Found by an IntelMac cold-startcargo check --tests --features test-fixtures.That's the class bug → airc card 9d249bd6 (add
--features test-fixturesto the compile-only CI check). This PR is the symptom fix only.Verification
cargo check -p continuum-core --test persona_command_inbound_pump --no-default-features --features livekit-webrtc,llama/mac-cpu-only,test-fixtures→ clean on Intel Mac.Refs
continuum-core/Cargo.toml§ test-fixtures gating🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE