fix: drop orphaned test-CI version_target from homeboy.json#399
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
homeboy.jsonversion_targetsarray carried a second entry pointing attests/playground-ci/component/agents-api-docs-agent-driver.php. This file is never in the shipped build artifact:.distignoreexcludestests/, sobuild/agents-api.zipcontains zero test files. Homeboy requires everyversion_targetto 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.phpis the canonical, packaged version anchor (mirrors how studio-native's homeboy.json anchors on shipped.php/style.cssfiles, 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-runnow plans cleanly:status: planned,failed: 0, resolveslocal_version: 0.5.0fromagents-api.php, no version-target error.AI assistance