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

[TM-1711] update bulkUpdateJobs to allow updating a single job that i… #60

Open
wants to merge 9 commits into
base: staging
Choose a base branch
from

Conversation

LimberHope
Copy link
Collaborator

Copy link

nx-cloud bot commented Feb 19, 2025

View your CI Pipeline Execution ↗ for commit 89b210a.

Command Status Duration Result
nx run-many -t test --coverage --passWithNoTest... ✅ Succeeded 9s View ↗
nx test unified-database-service --coverage ✅ Succeeded <1s View ↗
nx run-many -t lint build ✅ Succeeded 3s View ↗

☁️ Nx Cloud last updated this comment at 2025-02-20 13:14:28 UTC

@LimberHope LimberHope changed the base branch from staging to release/youthful-yucca February 19, 2025 14:16
Copy link
Collaborator

@roguenet roguenet left a comment

Choose a reason for hiding this comment

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

This looks OK, but there appears to be some spec updates needed. It's also worth noting that while this may make it look like the job cancelled in the FE, the worker process in the PHP BE will still run to completion, so whatever action the user was trying to take in the FE, it will eventually still try to finish in the BE, so this isn't a real "cancel". I don't know that we have a good way to effectively cancel the BE job though, so I suppose this is the best we can do... I'm curious about the need for this though. Is product aware that this won't cancel the actual work?


await expect(controller.bulkUpdateJobs(payload, request)).rejects.toThrow(NotFoundException);
});
// it('should not update jobs with status "pending"', async () => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please do not merge commented out code.

roguenet
roguenet previously approved these changes Feb 20, 2025
Base automatically changed from release/youthful-yucca to main February 20, 2025 18:59
@roguenet roguenet dismissed their stale review February 20, 2025 18:59

The base branch was changed.

@roguenet roguenet changed the base branch from main to staging February 20, 2025 19:19
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