Skip to content

chore(ci): remove unused GitHub Actions workflows and orphan files - #27957

Merged
yuneng-berri merged 1 commit into
litellm_internal_stagingfrom
litellm_/blissful-hawking-dfd43c
May 14, 2026
Merged

chore(ci): remove unused GitHub Actions workflows and orphan files#27957
yuneng-berri merged 1 commit into
litellm_internal_stagingfrom
litellm_/blissful-hawking-dfd43c

Conversation

@yuneng-berri

@yuneng-berri yuneng-berri commented May 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Audit of .github/workflows/ via gh run list --workflow=<file> showed several workflows that have either never run or been dormant for 10+ weeks. This PR removes them along with their orphan helper files. CI coverage that still matters is preserved on CircleCI.

Removed workflows

File Last run Why safe to remove
test-litellm.yml 2026-02-12 (cancelled) workflow_dispatch only; PR trigger commented out; CCI local_testing_part1/2 covers the same tests
llm-translation-testing.yml 2025-07-10 Replaced by CCI llm_translation_testing job. run_llm_translation_tests.py kept because make test-llm-translation still uses it
run_observatory_tests.yml 2026-03-03 (cancelled) 10 weeks dormant, workflow_dispatch only
scan_duplicate_issues.yml 2026-03-02 (failure) 10 weeks dormant; check_duplicate_issues.yml is the actively-firing equivalent
publish_to_pypi.yml Never run Never invoked; manual-dispatch only
read_pyproject_version.yml 2026-05-14 (success) Fires every push to main but only echos the version into nothing — no downstream step consumes it

Removed orphan files

  • .github/workflows/README.md — documented only publish_to_pypi.yml
  • .github/workflows/update_release.py + results_stats.csv — only referenced each other
  • .github/actions/helm-oci-chart-releaser/ — zero references in .github/ or .circleci/

What is NOT removed

  • Reusable workflows _test-unit-base.yml (9 callers) and _test-unit-services-base.yml (3 callers) — actively used
  • run_llm_translation_tests.py — still invoked by Makefile test-llm-translation target
  • auto_update_price_and_context_window_file.py — still used by the (currently-failing) auto-update workflow, which was not in scope for this cleanup

Test plan

  • CI passes on this branch — confirms nothing in .github/workflows/ or .circleci/ references the deleted files
  • make test-llm-translation still runs locally (script preserved)

Note

Low Risk
Low risk because this PR only deletes CI/workflow and helper files; risk is limited to any undiscovered external/manual reliance on the removed workflows or action.

Overview
Cleans up CI configuration by deleting multiple unused/dormant GitHub Actions workflows (PyPI publish, translation testing, observatory tests, duplicate issue scan, deprecated test runner, and a version-read workflow).

Also removes orphaned workflow collateral (a workflow README, update_release.py + results_stats.csv) and an unreferenced composite action (helm-oci-chart-releaser).

Reviewed by Cursor Bugbot for commit 3f6c009. Bugbot is set up for automated code reviews on this repo. Configure here.

Audit of .github/workflows/ via gh run history shows the following have
either never run or have been dormant for 10+ weeks. CI coverage that
still matters is preserved on CircleCI (e.g. llm_translation_testing).

Removed workflows:
- test-litellm.yml — workflow_dispatch only, last run 2026-02-12 (cancelled);
  CCI local_testing_part1/2 covers the same tests
- llm-translation-testing.yml — last run 2025-07-10; replaced by CCI
  llm_translation_testing job (run_llm_translation_tests.py kept for the
  make test-llm-translation target)
- run_observatory_tests.yml — last run 2026-03-03 (cancelled)
- scan_duplicate_issues.yml — last run 2026-03-02 (failure)
- publish_to_pypi.yml — never run
- read_pyproject_version.yml — fires on every push to main but its echoed
  version output is not consumed by any downstream step

Removed orphan files (no callers in workflows, CCI, or Makefile):
- .github/workflows/README.md — documented only publish_to_pypi.yml
- .github/workflows/update_release.py + results_stats.csv
- .github/actions/helm-oci-chart-releaser/
@yuneng-berri
yuneng-berri requested a review from a team May 14, 2026 20:44
@greptile-apps

greptile-apps Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes 9 dormant or never-run GitHub Actions workflow files, one orphan composite action, and two helper files (update_release.py, results_stats.csv) from .github/. Cross-checking confirmed no remaining workflow or CircleCI config references any of the deleted paths.

  • Six workflows deleted: test-litellm.yml (deprecated, manual-only), llm-translation-testing.yml (replaced by CircleCI, dormant since 2025-07), run_observatory_tests.yml (dormant 10+ weeks), scan_duplicate_issues.yml (superseded by check_duplicate_issues.yml), publish_to_pypi.yml (never run), and read_pyproject_version.yml (no-op echo with no downstream consumer).
  • The helm-oci-chart-releaser composite action and its orphan helpers (update_release.py, results_stats.csv, README.md) are removed; grep confirms zero remaining callers.
  • Actively-used reusable workflows (_test-unit-base.yml, _test-unit-services-base.yml) and the run_llm_translation_tests.py script (still used by make test-llm-translation) are intentionally preserved.

Confidence Score: 5/5

Pure deletion of dormant CI files with no active callers; safe to merge.

Every deleted file is either self-described as deprecated, has no recorded successful runs in months, or was confirmed to have zero callers remaining in .github/ and .circleci/. The companion script and active reusable workflows are correctly preserved. No production code or test logic is touched.

No files require special attention.

Important Files Changed

Filename Overview
.github/workflows/run_observatory_tests.yml Deleted dormant workflow_dispatch/workflow_call workflow; no remaining callers found in .github/workflows/ or .circleci/
.github/workflows/llm-translation-testing.yml Deleted; also had a push trigger on v*-rc* tags, but replaced by CircleCI and dormant since July 2025; companion script run_llm_translation_tests.py is preserved
.github/workflows/publish_to_pypi.yml Deleted manual-dispatch-only PyPI publish workflow that was never run
.github/workflows/read_pyproject_version.yml Deleted no-op workflow that echoed the pyproject.toml version into $GITHUB_ENV with no downstream consumer
.github/actions/helm-oci-chart-releaser/action.yml Deleted orphan composite action; grep confirmed zero references remain anywhere in .github/
.github/workflows/scan_duplicate_issues.yml Deleted dormant one-time scan workflow superseded by the active check_duplicate_issues.yml
.github/workflows/test-litellm.yml Deleted self-described deprecated workflow (workflow_dispatch only); replaced by test-litellm-matrix.yml and CircleCI
.github/workflows/update_release.py Deleted orphan Python script that uploaded results_stats.csv to GitHub releases; only referenced by the deleted workflow pair
.github/workflows/results_stats.csv Deleted stub CSV file; only referenced by the deleted update_release.py
.github/workflows/README.md Deleted documentation file that described only the now-deleted publish_to_pypi.yml workflow

Reviews (1): Last reviewed commit: "chore(ci): remove unused GitHub Actions ..." | Re-trigger Greptile

@codecov

codecov Bot commented May 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yuneng-berri
yuneng-berri enabled auto-merge May 14, 2026 20:48

@mateo-berri mateo-berri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice; lgtm

@yuneng-berri
yuneng-berri merged commit 27de654 into litellm_internal_staging May 14, 2026
116 checks passed
@yuneng-berri
yuneng-berri deleted the litellm_/blissful-hawking-dfd43c branch May 14, 2026 21:01
fzowl pushed a commit to fzowl/litellm that referenced this pull request Jun 24, 2026
…ng-dfd43c

chore(ci): remove unused GitHub Actions workflows and orphan files
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.

3 participants