Skip to content

GitHub action automated retry#2506

Closed
SongmingFan123 wants to merge 4 commits into
masterfrom
github-action-automated-retry
Closed

GitHub action automated retry#2506
SongmingFan123 wants to merge 4 commits into
masterfrom
github-action-automated-retry

Conversation

@SongmingFan123

@SongmingFan123 SongmingFan123 commented May 26, 2025

Copy link
Copy Markdown
Collaborator

Fixes #2366

@codecov

codecov Bot commented May 26, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.33%. Comparing base (49eb8ba) to head (7ae37ae).
Report is 214 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2506      +/-   ##
==========================================
+ Coverage   63.62%   71.33%   +7.71%     
==========================================
  Files          56       54       -2     
  Lines        2161     1769     -392     
  Branches      287      217      -70     
==========================================
- Hits         1375     1262     -113     
+ Misses        729      458     -271     
+ Partials       57       49       -8     

☔ 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.

@anth-volk anth-volk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please see comment

Comment on lines +75 to +83
id: deploy
run: make deploy
env:
POLICYENGINE_DB_PASSWORD: ${{ secrets.POLICYENGINE_DB_PASSWORD }}
GOOGLE_APPLICATION_CREDENTIALS: ${{ secrets.GCP_SA_KEY }}
POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN: ${{ secrets.POLICYENGINE_GITHUB_MICRODATA_AUTH_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

issue, blocking: This is pretty flagrantly not DRY (Don't Repeat Yourself)

There must be a way of doing this that allows for retries on failure via a single GitHub Action key. Please find it in the documentation and use that instead.

@anth-volk

Copy link
Copy Markdown
Collaborator

@SongmingFan123 please link #2366, not #2394, which is a PR, and thus cannot be fixed

@SongmingFan123

Copy link
Copy Markdown
Collaborator Author

@SongmingFan123 please link #2366, not #2394, which is a PR, and thus cannot be fixed

Updated, thank you.

@anth-volk

Copy link
Copy Markdown
Collaborator

Given some developments we've had on other issues, I think we should chat about this one. This might actually not be something we should pursue.

@anth-volk

Copy link
Copy Markdown
Collaborator

Closing, as we probably shouldn't do this anymore - this papers over more fundamental deploy issues, and we don't need this as much because we extended timeout threshold

@anth-volk anth-volk closed this Jul 24, 2025
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.

Look into the possibility of automatically re-running deploy action on failure

3 participants