fix(ci): update codegen-models workflow to use new Python output path#780
Open
khaliqgant wants to merge 2 commits intomainfrom
Open
fix(ci): update codegen-models workflow to use new Python output path#780khaliqgant wants to merge 2 commits intomainfrom
khaliqgant wants to merge 2 commits intomainfrom
Conversation
After moving Python codegen output from sdk-py/agent_relay/ to sdk-py/src/agent_relay/, the CI workflow was still referencing the old paths in its git diff check and git add step, causing exit code 128. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tion - codegen-py.mjs was still writing to sdk-py/agent_relay/ (old path), making the CI diff check against sdk-py/src/agent_relay/ always quiet - Stop generating __init__.py to avoid clobbering the hand-maintained SDK public API at src/agent_relay/__init__.py - Update lint-staged git add in package.json to match the new path and drop the stale __init__.py reference Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
codegenCI job which was failing withfatal: pathspec 'packages/sdk-py/agent_relay/models.py' did not match any filessdk-py/agent_relay/tosdk-py/src/agent_relay/(to stop shadowing the real SDK package), but the workflow still referenced the old paths in itsgit diffcheck andgit addstepagent_relay/__init__.pyfrom the workflow since codegen no longer generates itTest plan
codegenjob passes on this PR🤖 Generated with Claude Code