Skip to content

Expose workspace files to source inventory#458

Merged
chubes4 merged 3 commits into
mainfrom
fix/workspace-source-inventory
May 28, 2026
Merged

Expose workspace files to source inventory#458
chubes4 merged 3 commits into
mainfrom
fix/workspace-source-inventory

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 27, 2026

Summary

  • Add a Data Machine Code source inventory executor for kind=workspace_files.
  • Register it on Data Machine's datamachine_source_inventory_page_callback and datamachine_source_aggregate_page_callback seams.
  • Return stable source-file items from managed DMC workspace checkouts so Data Machine flows can inventory source files and upsert tracked-items coverage without custom downstream tasks.

Verification

  • php -l inc/SourceInventory/WorkspaceSourceInventory.php
  • homeboy test --path /Users/chubes/Developer/data-machine-code@fix-workspace-source-inventory --extension wordpress
  • Deployed to wp-docs-runtime and executed datamachine/source-inventory against workspace handle wordpress-develop, path src/wp-includes/abilities-api; result found 4 source files and upserted 4 tracked items in namespace wp-docs:wordpress-core:abilities-api-pilot.
  • vendor/bin/phpcs inc/SourceInventory/WorkspaceSourceInventory.php data-machine-code.php could not run locally because this repo worktree does not provide vendor/bin/phpcs.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the workspace source inventory executor and ran runtime verification; Chris remains responsible for review and testing.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 27, 2026

Homeboy Results — data-machine-code

Lint

lint — failed

  • phpstan — 1 finding(s)
  • Total: 1 finding(s)

ℹ️ Auto-fix: homeboy lint data-machine-code --path /home/runner/work/data-machine-code/data-machine-code --changed-since 9b9c76c --fix (or homeboy refactor data-machine-code --path /home/runner/work/data-machine-code/data-machine-code --changed-since 9b9c76c --from lint --write)
ℹ️ Some issues may require manual fixes
ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since 9b9c76c

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/26546416125

Test

test — passed

ℹ️ No impacted tests found for --changed-since 9b9c76c
ℹ️ Run full suite if needed: homeboy test data-machine-code
Deep dive: homeboy test data-machine-code --changed-since 9b9c76c

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/26546416125

Audit

audit — passed

Deep dive: homeboy audit data-machine-code --changed-since 9b9c76c

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/26546416125
Tooling versions
  • Homeboy CLI: homeboy 0.199.4+35da0ef
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 32bf41a3
  • Action: unknown@unknown

@chubes4 chubes4 merged commit e5d588a into main May 28, 2026
4 of 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.

1 participant