Skip to content

Conversation

@krystian-panek-vmltech
Copy link
Collaborator

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a race condition in the execution abortion flow by treating the STOPPED status as a pending state rather than a final state.

  • The core fix ensures that when aborting an execution, the UI continues polling until the execution reaches its final ABORTED status instead of prematurely stopping when it encounters the transient STOPPED status
  • Reduces the default test data size in an example Groovy script from 5 million to 10,000 users for more practical testing
  • Adds VS Code workspace settings to exclude build directories from search

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
ui.frontend/src/types/execution.ts Adds STOPPED status to isExecutionPending function to fix race condition during execution abortion
ui.content.example/src/main/content/jcr_root/conf/acm/settings/script/manual/example/ACME-203_output-csv.groovy Reduces default user count from 5,000,000 to 10,000 for more reasonable example execution times
.vscode/settings.json Configures search exclusions for build artifacts and dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@krystian-panek-vmltech krystian-panek-vmltech merged commit d789800 into main Nov 12, 2025
7 checks passed
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