Repository navigation
test(laptop-agent): wire the pkgs/laptop-agent suites into CI - #17738
Merged
developing-today-fleet[bot] merged 1 commit intoNov 30, 2026
Merged
Conversation
The six unittest suites in pkgs/laptop-agent/tests/ (136 test methods) and the parity_roundtrip.py client-protocol check were run by nothing: no workflow named them, and the flake check laptop-agent-tests that test_laptop_agent.py's header claimed wired them does not exist (package.nix is install-only). Add the laptop-agent-tests workflow on the fleet-queue-backup-tests pattern (push/PR path triggers on pkgs/laptop-agent/**, per-file existence guard, vacuous-discovery guard) and correct the header to name the real wiring.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
xaltha/0900ga-17729-laptop-agent-tests
branch
November 30, 2026 22:12
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.
Closes #17729
What
.github/workflows/laptop-agent-tests.yml: runs thepkgs/laptop-agent/tests/suites on pushes to main and PRs touchingpkgs/laptop-agent/**or the workflow itself (house pattern:fleet-queue-backup-tests.yml; main tier, not a merge gate). The run step first asserts every expected suite file exists (a green run can never be a silently skipped suite), then runs unittest discovery with a vacuous-discovery guard (Ran 0 testsfails the step), then runsparity_roundtrip.pyas its own step.pkgs/laptop-agent/tests/test_laptop_agent.pyheader corrected: it claimed the suites were "Wired as the flake checklaptop-agent-tests" — no such check exists. It now names the real wiring.Why
The six unittest suites (136 test methods: startup auth, bounded output capture, bind guard, FLEET_CTX contract #14186/#14188, endpoint TLS, /file routes) plus the client-protocol parity round-trip guard the resident fleet execution agent (
pkgs/laptop-agent/src/laptop_agent.py, #10131) — and were run by nothing: no workflow named them, full-repo grep found no runner, andpkgs/laptop-agent/package.nixis install-only with nocheckPhase.Verification
Remote dispatch (fleet queue): run 46523406656 — unittest discovery + parity round-trip on this branch, counts read firsthand from the log. The PR also triggers the new workflow itself via its path filters. Results recorded on #17729.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T22:05:24Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.