Skip to content

Conversation

runningcode
Copy link
Contributor

@runningcode runningcode commented Sep 23, 2025

Summary

Reverts commit c0beb47 to restore the GitHub Actions base branch detection functionality that was previously implemented in #2776.

Background

The original GHA base branch detection was reverted in #2789 due to CI failures on master. However, those test failures were actually resolved separately in #2791 by adding --log-level=error to suppress warning messages in the integration tests.

Changes

This PR restores:

  • get_github_base_ref() function in src/utils/vcs.rs that detects base branch from GITHUB_BASE_REF environment variable
  • Integration of GHA base branch detection in the build upload command logic
  • Tests for the get_github_base_ref() function

The test failures that caused the original revert have been resolved by the test fixes in #2791, so this functionality can now be safely restored.

🤖 Generated with Claude Code

@runningcode runningcode requested review from szokeasaurusrex and a team as code owners September 23, 2025 11:57
@runningcode runningcode merged commit bec43e9 into master Sep 24, 2025
25 checks passed
@runningcode runningcode deleted the no/revert-gha-base-branch-detection-revert branch September 24, 2025 14:00
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.

2 participants