Skip to content

Fix broken deploy by removing obsolete changelog generation #1150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2025

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 codegen-team and a 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