Skip to content

Conversation

@drbenvincent
Copy link
Collaborator

@drbenvincent drbenvincent commented Dec 5, 2025

Fixes the recurring failure in the UML diagram update workflow caused by existing branch conflicts.

The workflow was failing with "Updates were rejected because the remote contains work that you do not have locally" when the update-uml-diagrams branch already existed from a previous run.

Now deletes any existing branch (locally and remotely) before creating a new one, ensuring clean branch creation on each run. Also adds graceful handling if the PR already exists.


📚 Documentation preview 📚: https://causalpy--581.org.readthedocs.build/en/581/

The workflow now deletes any existing 'update-uml-diagrams' branch locally and remotely before creating a new one, ensuring a clean state. PR creation will fail gracefully if a PR already exists, preventing errors in repeated runs.
@drbenvincent drbenvincent added the devops DevOps related label Dec 5, 2025
@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.43%. Comparing base (2b29e48) to head (6faddf6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #581   +/-   ##
=======================================
  Coverage   96.43%   96.43%           
=======================================
  Files          35       35           
  Lines        5446     5446           
=======================================
  Hits         5252     5252           
  Misses        194      194           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@drbenvincent drbenvincent requested a review from maresb December 5, 2025 09:37
Copy link
Collaborator

@juanitorduz juanitorduz left a comment

Choose a reason for hiding this comment

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

we can try this out

@drbenvincent drbenvincent merged commit a388bc7 into main Dec 5, 2025
11 checks passed
@drbenvincent drbenvincent deleted the fix-uml-action branch December 5, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants