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

Fix race condition in dotnet first time use experience #1414

Merged

Conversation

grospelliergilles
Copy link
Member

@grospelliergilles grospelliergilles commented May 21, 2024

If target dotnet_axl exists, add a dependency to this target to projects using C# to ensure there is only one project
executed at once. This is necessary for the CI because during the first use of dotnet there are directory creations and this poses problem if it is executed by several instances at the same time.

@grospelliergilles grospelliergilles added arcane Arcane Component CI Continous Integration build Build configuration labels May 21, 2024
@grospelliergilles grospelliergilles self-assigned this May 21, 2024
@grospelliergilles grospelliergilles marked this pull request as draft May 21, 2024 07:32
Si la cible 'dotnet_axl' existe, ajoute une dépendance à cette cible pour
les projets utilisant le C# pour garantir qu'il n'y a qu'un seul projet
exécuté à la fois. Cela est nécessaire pour le CI car lors de la première
utilisation de `dotnet` il y a des créations de répertoire et cela pose
problème si c'est exécuté par plusieurs instances à la fois.
@grospelliergilles grospelliergilles force-pushed the dev/gg-fix-race-condition-in-dotnet-first-experience branch from c95b246 to a90c688 Compare May 21, 2024 07:34
@grospelliergilles grospelliergilles marked this pull request as ready for review May 21, 2024 08:19
Copy link

codecov bot commented May 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.04%. Comparing base (79888a3) to head (a90c688).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1414      +/-   ##
==========================================
- Coverage   69.04%   69.04%   -0.01%     
==========================================
  Files        2064     2064              
  Lines      152214   152214              
  Branches    17469    17469              
==========================================
- Hits       105102   105098       -4     
- Misses      40813    40817       +4     
  Partials     6299     6299              

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

@grospelliergilles grospelliergilles merged commit e5ed3df into main May 21, 2024
38 checks passed
@grospelliergilles grospelliergilles added the bug Something isn't working label May 21, 2024
@grospelliergilles grospelliergilles deleted the dev/gg-fix-race-condition-in-dotnet-first-experience branch May 23, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arcane Arcane Component bug Something isn't working build Build configuration CI Continous Integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant