fix(agent): dispatch patch tasks from heartbeat #64

Merged
simon merged 1 commit from fix/run-patch-task-failure into main 2026-05-23 17:14:22 +00:00
Owner

Summary

  • dispatch registered heartbeat tasks instead of rejecting non-software-inventory tasks
  • show final task error messages in the task monitor when no streamed output was captured
  • add focused agent and task monitor regression coverage

Validation

  • go test ./internal/heartbeat ./internal/tasks
  • pnpm --filter web type-check
  • pnpm --filter web test:e2e -- tests/e2e/tasks/monitor.spec.ts

Release / image notes

  • Conventional commit title should trigger release-please after merge.
  • Monitor release and image publication after merge.
## Summary - dispatch registered heartbeat tasks instead of rejecting non-software-inventory tasks - show final task error messages in the task monitor when no streamed output was captured - add focused agent and task monitor regression coverage ## Validation - go test ./internal/heartbeat ./internal/tasks - pnpm --filter web type-check - pnpm --filter web test:e2e -- tests/e2e/tasks/monitor.spec.ts ## Release / image notes - Conventional commit title should trigger release-please after merge. - Monitor release and image publication after merge.
fix(agent): dispatch patch tasks from heartbeat
All checks were successful
Conventional PR title / Conventional PR title (pull_request) Successful in -1s
PR Checks (Docker images) / Ansible API contract (pull_request) Successful in 7s
PR Checks (Go) / Go (test / build) (pull_request) Successful in 48s
PR Checks (Docker images) / Ingest Docker image (pull_request) Successful in 1m40s
PR Checks (Docker images) / Ansible API Docker image (pull_request) Successful in 1m42s
SAST / gosec (agent) (pull_request) Successful in 55s
SAST / gosec (ingest) (pull_request) Successful in 1m5s
SAST / trivy (filesystem) (pull_request) Successful in 15s
SAST / semgrep (pull_request) Successful in 32s
SAST / crypto-lint (no weak hashes / ciphers) (pull_request) Successful in 4s
SAST / trivy (config / IaC) (pull_request) Successful in 10s
Secret Scan / gitleaks (pull_request) Successful in 13s
PR Checks (Web) / Web (lint / type-check / build) (pull_request) Successful in 2m39s
PR Checks (Docker images) / Web Docker image (pull_request) Successful in 3m50s
a62f6cba07
simon merged commit 74b6c69ef5 into main 2026-05-23 17:14:22 +00:00
simon deleted branch fix/run-patch-task-failure 2026-05-23 17:14:22 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carrtech/ct-ops!64
No description provided.