Skip to content

Conversation

codegen-sh[bot]
Copy link
Contributor

@codegen-sh codegen-sh bot commented Jun 29, 2025

Problem

The auto-release workflow was failing with this error:

/home/runner/work/codegen/codegen/.venv/bin/python3: can't open file '/home/runner/work/codegen/codegen/src/codegen/gscli/cli.py': [Errno 2] No such file or directory

This was blocking releases because the workflow was trying to run a changelog generation command that references the old gscli module which no longer exists.

Solution

Removed the entire generate-changelog job from the auto-release workflow since:

  1. The gscli functionality has been removed from the codebase
  2. The changelog generation is no longer needed as part of the release process

Changes

  • Removed the generate-changelog job from .github/workflows/auto-release.yml
  • This eliminates the reference to the non-existent src/codegen/gscli/cli.py file

Testing

The workflow should now complete successfully without trying to run the obsolete changelog generation step.

Fixes CG-18853


💻 View my workAbout Codegen

The gscli functionality has been removed from the codebase, but the
auto-release workflow was still trying to run:
uv run python src/codegen/gscli/cli.py generate changelog

This was causing deployment failures. Since the gscli stuff is no
longer needed, removing the entire generate-changelog job.

Fixes CG-18853
@codegen-sh codegen-sh bot requested review from a team and codegen-team as code owners June 29, 2025 21:56
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jayhack jayhack merged commit c04e2c2 into develop Jun 29, 2025
18 checks passed
@jayhack jayhack deleted the codegen-cg-18853-fix-broken-deploy branch June 29, 2025 21:57
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