Skip to content

Emit workspace executor metrics#570

Merged
chubes4 merged 1 commit into
mainfrom
issue/569-workspace-execution-metrics
Jun 6, 2026
Merged

Emit workspace executor metrics#570
chubes4 merged 1 commit into
mainfrom
issue/569-workspace-execution-metrics

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented Jun 6, 2026

Summary

  • Emits execution_metrics from the optional Agents API blessed workspace executor adapter without changing the generic DMC ability result payload.
  • Captures wall time, DMC ability timing/count, payload byte counts, artifact byte/count summaries, side-effect classes, and normalized failure class.
  • Extends the adapter smoke test to prove metrics are emitted and do not copy secret inputs or oversized raw artifact payloads.

Dependency note

Tests

  • php -l inc/AgentsApi/WorkspaceExecutorAdapter.php
  • php -l tests/smoke-agents-api-workspace-executor-adapter.php
  • php tests/smoke-agents-api-workspace-executor-adapter.php
  • php tests/smoke-late-ability-registration.php
  • php tests/smoke-tool-schemas.php
  • php tests/smoke-wordpress-runtime-inspection.php
  • homeboy lint data-machine-code --changed-since origin/main
  • homeboy test data-machine-code --changed-since origin/main
  • composer validate --no-check-publish (valid; existing warning about the version field)

Closes #569.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (gpt-5.5)
  • Used for: Drafted the adapter metrics implementation, smoke coverage, validation runs, and PR description for Chris to review.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented Jun 6, 2026

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since a0b1795

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27068783488

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since a0b1795

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27068783488

Audit

audit — passed

  • audit — 236 finding(s)
  • Total: 236 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since a0b1795

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27068783488
Tooling versions
  • Homeboy CLI: homeboy 0.220.3+21e1a4d
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: e34defd5
  • Action: unknown@unknown

@chubes4 chubes4 merged commit c24dc1e into main Jun 6, 2026
5 checks passed
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.

Emit workspace executor metrics for Agents API task runs

1 participant