Skip to content

fix: drop orphaned test-CI version_target from homeboy.json#399

Merged
chubes4 merged 1 commit into
mainfrom
fix/homeboy-drop-orphan-test-version-target
Jul 3, 2026
Merged

fix: drop orphaned test-CI version_target from homeboy.json#399
chubes4 merged 1 commit into
mainfrom
fix/homeboy-drop-orphan-test-version-target

Conversation

@chubes4

@chubes4 chubes4 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

The homeboy.json version_targets array carried a second entry pointing at tests/playground-ci/component/agents-api-docs-agent-driver.php. This file is never in the shipped build artifact: .distignore excludes tests/, so build/agents-api.zip contains zero test files. Homeboy requires every version_target to exist in the packaged artifact, so this orphaned target failed the deploy version-target check.

Root cause

The test-CI target was added alongside the release-target config (commit d207dd5) and was orphaned from day one — the build has always excluded tests/. It surfaced now during the studio-native runtime deploy work.

Fix

Remove the dead test-CI version_target. agents-api.php is the canonical, packaged version anchor (mirrors how studio-native's homeboy.json anchors on shipped .php/style.css files, not tests). Both files were kept in Version lockstep (0.5.0), so no version-source information is lost.

Verification

homeboy deploy studio-native-local-runtime agents-api --head --apply --dry-run now plans cleanly: status: planned, failed: 0, resolves local_version: 0.5.0 from agents-api.php, no version-target error.

AI assistance

  • AI assistance: Yes
  • Tool(s): Claude Opus 4.8 via Claude Code
  • Used for: Root-cause investigation of the orphaned version_target and the one-line config fix.

The tests/playground-ci/component/agents-api-docs-agent-driver.php
version_target has never been present in the shipped build artifact:
.distignore excludes tests/, so build/agents-api.zip contains zero test
files (verified: unzip -l shows the driver absent). Homeboy requires
every version_target to exist in the packaged artifact, so this orphaned
entry blocked the whole deploy version-target check.

The main plugin file agents-api.php is the canonical version anchor and
IS packaged. This mirrors how studio-native homeboy.json anchors on
shipped .php/style.css files, not tests. Shipping test files inside a
plugin artifact is not intended, so the correct fix is to remove the dead
target rather than package tests into the release.

The two files were kept in Version lockstep (both 0.5.0), so no
version-source information is lost by dropping the redundant target.
@chubes4 chubes4 merged commit ecd07dc into main Jul 3, 2026
2 checks passed
@chubes4 chubes4 deleted the fix/homeboy-drop-orphan-test-version-target branch July 3, 2026 02:28
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