Skip to content

Make GHA workflow script execution able to run in parallel#2092

Merged
leonard84 merged 2 commits intomasterfrom
vampire/improve-workflow-script-execution
Feb 28, 2025
Merged

Make GHA workflow script execution able to run in parallel#2092
leonard84 merged 2 commits intomasterfrom
vampire/improve-workflow-script-execution

Conversation

@Vampire
Copy link
Copy Markdown
Member

@Vampire Vampire commented Jan 23, 2025

No description provided.

Copy link
Copy Markdown
Member Author

Vampire commented Jan 23, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.89%. Comparing base (8601cbb) to head (cb7f0ed).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2092   +/-   ##
=========================================
  Coverage     81.89%   81.89%           
  Complexity     4687     4687           
=========================================
  Files           452      452           
  Lines         14682    14682           
  Branches       1850     1850           
=========================================
  Hits          12024    12024           
  Misses         1976     1976           
  Partials        682      682           

@leonard84
Copy link
Copy Markdown
Member

.github\workflows\codeql-analysis.main.kts: error: java.nio.file.AccessDeniedException: C:\Users\runneradmin.m2\repository\io\github\typesafegithub\github-workflows-kt\3.2.0_remote.repositories4916797036625729504tmp -> C:\Users\runneradmin.m2\repository\io\github\typesafegithub\github-workflows-kt\3.2.0_remote.repositories

Does this change introduce resource conflicts?

@Vampire
Copy link
Copy Markdown
Member Author

Vampire commented Jan 30, 2025

Hm, seems there is a race condition when .main.kts scripts are run in parallel when trying to write to Maven Local repository. :-(
https://youtrack.jetbrains.com/issue/KT-74830
I added a retry, that should work-around it hopefully.

@Vampire Vampire force-pushed the vampire/improve-workflow-script-execution branch from dd2a0fd to 5e6b095 Compare January 30, 2025 20:46
@Vampire Vampire force-pushed the vampire/improve-workflow-script-execution branch from 5e6b095 to b281104 Compare February 27, 2025 16:07
@Vampire Vampire force-pushed the vampire/improve-workflow-script-execution branch from b281104 to cb7f0ed Compare February 28, 2025 09:53
@leonard84 leonard84 merged commit f8109fe into master Feb 28, 2025
52 checks passed
@leonard84 leonard84 deleted the vampire/improve-workflow-script-execution branch February 28, 2025 10:25
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