Skip to content

fix(scheduler): backport nil-scenario preempt guard to v0.15#1699

Merged
enoodle merged 2 commits into
kai-scheduler:v0.15from
enoodle:backport-1665-to-v0.15
Jun 15, 2026
Merged

fix(scheduler): backport nil-scenario preempt guard to v0.15#1699
enoodle merged 2 commits into
kai-scheduler:v0.15from
enoodle:backport-1665-to-v0.15

Conversation

@enoodle

@enoodle enoodle commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Description

Backports the #1665 fix for the nil-pointer panic in the preempt scenario builder to v0.15.

This cherry-picks the two nil guards from main, keeps the focused regression tests, and adds the fix to the CHANGELOG.md [Unreleased] section for the next v0.15.x release.

Related Issues

Related to #1664 #1688

Checklist

  • Self-reviewed
  • Added/updated tests (if needed)
  • Updated documentation (if needed)

Breaking Changes

None.

Additional Notes

Validated with:

go test ./pkg/scheduler/actions/common/solvers/...

…cheduler#1665)

(cherry picked from commit fc2b3e2)

Signed-off-by: Erez Freiberger <enoodle@gmail.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: dca90fd6-d5cd-408f-a5e3-334bf2057c8b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@enoodle enoodle enabled auto-merge (squash) June 15, 2026 19:40
@enoodle enoodle merged commit fbaacd5 into kai-scheduler:v0.15 Jun 15, 2026
15 of 23 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