- 
                Notifications
    You must be signed in to change notification settings 
- Fork 8
feat: cleanup job definitions #20
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
Conversation
| 📝 WalkthroughWalkthroughThe changes introduce a new method,  Changes
 Sequence Diagram(s)sequenceDiagram
    participant E as Executor
    participant CAJ as check_active_jobs
    participant CJ as cancel_jobs
    participant CR as cleanup_job_resources
    participant T as _terminate_job
    participant D as _deregister_job
    Note over E, CR: Centralized cleanup flow
    
    E->>CAJ: call check_active_jobs()
    alt Job status code available
        CAJ->>CR: cleanup_job_resources(job)
        CR->>T: _terminate_job(job)
        CR->>D: _deregister_job(job)
    end
    E->>CJ: call cancel_jobs()
    CJ->>CR: cleanup_job_resources(job)
    CR->>T: _terminate_job(job)
    CR->>D: _deregister_job(job)
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
 🚧 Files skipped from review as they are similar to previous changes (1)
 🪧 TipsChatThere are 3 ways to chat with CodeRabbit: 
 Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
 Other keywords and placeholders
 CodeRabbit Configuration File ( | 
🤖 I have created a release *beep* *boop* --- ## [0.2.0](v0.1.0...v0.2.0) (2025-03-14) ### Features * cleanup job definitions ([#20](#20)) ([c1843ec](c1843ec)) ### Miscellaneous Chores * release 0.2.0 ([af1c0bc](af1c0bc)) * release 0.2.0 ([d18ea37](d18ea37)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jake VanCampen <jake.vancampen7@gmail.com>
This PR cleans up job definitions on success and failure
resolves #17
Summary by CodeRabbit