Repository navigation
test(ci): fix desktop draft race and remaining rust-preview CI failures - #7151
Merged
Merged
Conversation
Restore desktop.type_text(...) at four call sites in desktop_new_session.rs that immediately press an already-visible submit/close button or switch pane focus after pasting, eliminating the Windows CI paste/focus race. Closes #7067 Generated-by: Maka (Gemini)
…on, and retire lock race
Fix the three remaining CI failures on rust-preview:
- `maka-agent-engine` (`driver::witness::tests::*`): supply valid JSON
`{"services": []}` for `RunSpec.tool_selection` instead of empty non-JSON
bytes so the `agent_memory_read_alias_insert` trigger added in #7147 does
not fail with SQLite `malformed JSON`.
- `maka-agent-native` (`ax_session_tools::universal_read_and_human_symmetric_session_tools_coordinate_rooms_and_workers`):
align Step 7 with #7147's history-reader suppression guard—assert that the
parent's history-resource `Read("maka://...")` omits `resultPath`/`status`
for Agent callers, and assert via Agent `SessionRead({ sessionId: child_id })`
that an ordinary workspace `Read("checklist.txt")` retains `resultPath`.
- `maka-cli::integration` (`initialize::public_init_persists_settings_from_stdin_and_rejects_reconfiguration`):
wait until the retired host actually releases the `RootOwner` lock before
testing reconfiguration rejection and reopening the store.
Generated-by: Maka (Gemini)
4 tasks done
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.
Summary
Closes #7067
Fixes the Windows desktop draft race and the three pre-existing
root-testsCI failures onrust-preview:native-windowsdesktop draft paste/focus race (products/maka/terminal-shell/tests/real_host/desktop_new_session.rs): await the pasted draft before submitting, switching panes, or closing the side pane (fixing the regression from0a7b98343).maka-agent-enginedriver::witness::tests::*(plugins/agent/engine/src/driver/witness.rs): provide a valid JSON{"services": []}blob forRunSpec.tool_selectionin the real-Store fixture so theagent_memory_read_alias_insertSQLite trigger from # feat(recall): retrieve effective memories with suppression guards #7147 does not fail withmalformed JSON.maka-agent-nativeax_session_tools(plugins/agent/native/src/owner/driver/tests/model_recovery/preset_acceptance/ax_session_tools.rs): align Step 7 with # feat(recall): retrieve effective memories with suppression guards #7147's stale-history-read guard—verify thatparent_id'sRead("maka://...")entry omitsresultPath/statusfor Agent callers, and verify via AgentSessionRead({ sessionId: child_id })that an ordinary workspace fileRead("checklist.txt")still exposesresultPath.maka-cli::integrationinitialize(products/maka/cli/tests/integration/initialize.rs): wait for the retired host to release theRootOwnerflock aftermaka host retirebefore running the reconfiguration rejection and finalRootOwner::open_existingchecks.Verification
cargo fmt --check— passcargo test --locked -p maka-agent-engine --lib— 33/33 pass (all 5driver::witness::tests::*green)cargo test --locked -p maka-agent-native --lib ax_session_tools::universal_read_and_human_symmetric_session_tools_coordinate_rooms_and_workers— passcargo test --locked -p maka-cli --test integration initialize::public_init_persists_settings_from_stdin_and_rejects_reconfiguration— passnative-windows,native-windows-desktop-2,native-macos, andnative-macos-agentall greenAI-Assisted Contribution
Checklist
Does this PR entail a change in behavior?