Skip to content

feat: add Context() method and update job retrieval, closes #762 #855

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

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from

Conversation

pcfreak30
Copy link
Contributor

@pcfreak30 pcfreak30 commented Jun 27, 2025

  • Add Context() method to Job interface and implement it in job struct
  • Update requestJob function to include a timeout flag
  • Modify existing methods to use the new requestJob signature

depends on #854

@pcfreak30 pcfreak30 force-pushed the issue/762-1 branch 2 times, most recently from 84cb90b to 2293198 Compare June 27, 2025 03:09
- Add `jobOutUpdateLockRequest` channel in the executor
- Implement lock update requests in the job execution process
- Add `Lock()` method to the `Job` interface
- Update the scheduler to handle lock update requests
- Add a test case to verify the new locking mechanism
- Add `jobOutUpdateLockRequest` channel in the executor
- Implement lock update requests in the job execution process
- Add `Lock()` method to the `Job` interface
- Update the scheduler to handle lock update requests
- Add a test case to verify the new locking mechanism


- Add Context() method to Job interface and implement it in job struct
- Update requestJob function to include a timeout flag
- Modify existing methods to use the new requestJob signature
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.

1 participant