Skip to content

fix(bundle): remap installed workflow step metadata#1709

Merged
chubes4 merged 1 commit intomainfrom
fix-flow-step-metadata-normalization
May 1, 2026
Merged

fix(bundle): remap installed workflow step metadata#1709
chubes4 merged 1 commit intomainfrom
fix-flow-step-metadata-normalization

Conversation

@chubes4
Copy link
Copy Markdown
Member

@chubes4 chubes4 commented May 1, 2026

Summary

  • Fixes agent bundle installs so pipeline and flow step IDs are remapped to the installed pipeline/flow IDs.
  • Prevents imported flows from carrying stale bundle-local pipeline_id / pipeline_step_id metadata into runtime execution.

Changes

  • Remap pipeline config keys and embedded pipeline_step_id values after install/update.
  • Remap flow config keys plus embedded flow_step_id, pipeline_step_id, pipeline_id, and flow_id values once the installed flow ID is known.
  • Extend the portable bundle smoke test to cover runtime metadata remapping.

Tests

  • php -l inc/Core/Agents/AgentBundler.php
  • php -l tests/agent-bundle-portable-update-smoke.php
  • php tests/agent-bundle-portable-update-smoke.php
  • homeboy lint data-machine --path /Users/chubes/Developer/data-machine@fix-flow-step-metadata-normalization --changed-since origin/main --summary
  • homeboy test data-machine --path /Users/chubes/Developer/data-machine@fix-flow-step-metadata-normalization --changed-since origin/main --summary

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the failed WPCOM wiki flow, drafted the bundle metadata remapping fix, and ran local verification. Chris remains responsible for review and merge.

@homeboy-ci
Copy link
Copy Markdown
Contributor

homeboy-ci Bot commented May 1, 2026

Homeboy Results — data-machine

Lint

⚠️ Homeboy core PR-comment rendering currently supports the default audit,lint,test review report only. Check the action logs for lint.

Test

⚠️ Homeboy core PR-comment rendering currently supports the default audit,lint,test review report only. Check the action logs for test.

Audit

⚠️ Homeboy core PR-comment rendering currently supports the default audit,lint,test review report only. Check the action logs for audit.

Tooling versions
  • Homeboy CLI: homeboy 0.136.1+9f9dec90
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 2ec001d
  • Action: Extra-Chill/homeboy-action@v2

@chubes4 chubes4 merged commit 934870e into main May 1, 2026
3 checks passed
@chubes4 chubes4 deleted the fix-flow-step-metadata-normalization branch May 1, 2026 18:30
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