Skip to content

rfc20: add optional slots key to R_lite entries - #557

Merged
mergify[bot] merged 2 commits into
flux-framework:masterfrom
grondo:issue#554
Oct 14, 2026
Merged

mergify[bot] merged 2 commits into
flux-framework:masterfrom
grondo:issue#554

Conversation

@grondo

@grondo grondo commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

This PR adds the suggested slots key to R_lite entries in Rv1 as described in this comment in #554.

If this is acceptable, we can work on updating the job shell in flux-core to read slots and a corresponding mode in the Python schedulers to generate it.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

⚠️ linkcheck failed with status code 2

Problem: RFC 20 does not state that an execution target may appear
in only one R_lite entry. This is implied by the one to one mapping
of nodelist to R_lite execution targets, and is assumed by existing
implementations, but is not specified.

State that an execution target MUST NOT appear in more than one
R_lite entry.

Assisted-by: Claude:opus-5.5
Problem: The execution system needs to know which task slot label the
scheduler selected on each execution target, for example to select the
matching jobspec tasks entry when a jobspec offers alternative slots.
This is currently only available from the opaque, scheduler-specific
scheduling key.

Add an optional slots dictionary to each R_lite entry that maps task
slot labels to a slot count and the resources assigned to those slots.

Fixes flux-framework#554

Assisted-by: Claude:opus-5.5
@github-actions

Copy link
Copy Markdown

⚠️ linkcheck failed with status code 2

@garlick garlick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This works for me.

@mergify

mergify Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@grondo

grondo commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

Thanks! I set MWP

@mergify mergify Bot added the queued label Oct 14, 2026
@mergify

mergify Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-14 17:01 UTC · Rule: default · triggered by rule rebase and merge when passing all checks
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged — 2026-10-14 17:01 UTC · at 9be8a5709f5f9aa397c2b25aa0d87412d8f3c142 · merge

This pull request spent 17 seconds in the queue, including 2 seconds running CI.

Required conditions to merge
  • github-review-approved [🛡 GitHub branch protection]
  • any of [🛡 GitHub branch protection]:
    • check-success = docs/readthedocs.org:flux-rfc
    • check-neutral = docs/readthedocs.org:flux-rfc
    • check-skipped = docs/readthedocs.org:flux-rfc
  • any of [🛡 GitHub branch protection]:
    • check-success = make check
    • check-neutral = make check
    • check-skipped = make check
  • any of [🛡 GitHub branch protection]:
    • check-success = validate commits
    • check-neutral = validate commits
    • check-skipped = validate commits

@mergify
mergify Bot merged commit 9be8a57 into flux-framework:master Oct 14, 2026
7 of 8 checks passed
@mergify mergify Bot removed the queued label Oct 14, 2026
@grondo
grondo deleted the issue#554 branch October 14, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants