janhoy commented on code in PR #4318:
URL: https://github.com/apache/solr/pull/4318#discussion_r3123393077
##########
.github/workflows/tests-via-crave.yml:
##########
@@ -5,31 +5,41 @@ on:
branches:
- '*'
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number ||
github.ref }}
+ cancel-in-progress: true
+
jobs:
test:
name: Run Solr Tests using Crave.io resources
runs-on: self-hosted
timeout-minutes: 40
+ env:
+ # Use a PR-scoped workspace path so that each new run for the same PR
+ # destroys any leftover resources from a previous run (including
cancelled
+ # runs whose cleanup step may not have completed in time).
+ CRAVE_WORKSPACE: /crave-devspaces/pipeline/prs/${{
github.event.pull_request.number }}
Review Comment:
This is a fix for copilot's comment further up. Use workspace per pr...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]