Skip to content
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

Bug duplicate projects #96

Merged
merged 9 commits into from
May 13, 2024
Merged

Bug duplicate projects #96

merged 9 commits into from
May 13, 2024

Conversation

jtsaito
Copy link
Contributor

@jtsaito jtsaito commented May 8, 2024

I plan to merge this only on Monday to avoid DependaBot merges causing any unexpected issues.

This PR address an infrequent but time consuming bug: once every few weeks this GitHub action fails and results in creating duplicate GitHub Repository projects. Fixing this has to be done manually and is time consuming. Until the fix is out the review process is impeded.

The actual cause of the bug is unknown. However, we attempt to address the issue in three ways as follows.

  1. reject GitHub action inputs with duplicate GitHub projects
  2. if we attempt to create more than one new project, first re-try if the basis for this intention (projects fetched from API) is correct (by fetching projects from API again). This assumes the bug comes from a broken API GET call.
  3. Add more debbuging output

@jtsaito jtsaito self-assigned this May 8, 2024
@jtsaito jtsaito requested a review from a team May 8, 2024 08:25
projects.js Show resolved Hide resolved
projects.js Show resolved Hide resolved
@jtsaito jtsaito merged commit bea0947 into main May 13, 2024
2 checks passed
@jtsaito jtsaito deleted the bug-duplicate-projects branch May 13, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants