GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(fleet-queue): SEL-01 pure reference selector — both predicates, hard gates, urgent predicate (#9491) by dezren39 · Pull Request #15186 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

SEL-01 — Pure reference selector (#9491)

Lands the SEL-01 slice of the #9204 queue-selection design in pkgs/fleet/crates/fleet-queue/src/work/selection.rs, the blocker in the #9206 chain (#9491 → #9440 → #9502). #9491's design gates are now all closed — PR #9225 merged, #9478 (PRI-01) closed, #9451 (DST-01) closed, #8097 closed — so the gated slice is workable; this follows the same pure-model pattern as SEL-06 (already in this module), CLI-01 (#9501) and PRI-01 (#9478). Pure model only: no persistence, no I/O, no live broker behaviour change.

What it adds

  • Hard gates first, each with a typed ExclusionReason: terminal lifecycle, persistent fleet queue: resume-by-session, claim-any-task, and manual-only items #9178 manual_only, unresolved hard dependency, incomplete graph evaluation (fails closed), policy-disabled, active lease, concurrency limit, incompatible ownership.
  • Both predicates must apply (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097): the task-requirement predicate (required capabilities ⊆ caller's, task platform pin matches caller's platform) AND the caller-filter predicate (repository filter). Either alone is not enough.
  • Urgent predicate naming its qualifying classes from the active PriorityProfile (critical, expedite by default in fleet.queue v1) — never a numeric threshold; cross-profile urgency is a typed PriorityError::ProfileMismatch. any_urgent over the eligible set is the exploration gate's input.
  • Eligible candidates are ordered by the shared V2 comparator (priority::compare_candidates); duplicate canonical identities are excluded with a typed reason; mixed profiles are rejected before ordering.

Tests

  • pmo_selection_requirements_and_filter_both_apply — the design's SEL-01 oracle, including its counterexample: a Linux task with a repo=code caller filter still excludes a Windows claimer.
  • hard_ineligible_never_selected — every hard gate excludes even a critical candidate.
  • urgent_predicate_names_classes_from_profile — class naming, untriaged never urgent, foreign-owned urgent work does not trip this lane's gate.
  • selection_orders_by_comparator_and_dedupes_identity.

Verification: remote dispatch via the fleet-command.yml workflow fallback (run https://github.com/developing-today/fleet/actions/runs/45679999117) running cargo test -p fleet-queue --lib --features client,queue-broker pmo_selection_ against this branch — result noted on #9491. (fleet queue dispatch itself remains blocked by TLS defect #13185.)

Refs #9491
Refs #9206

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(fleet-queue): SEL-01 pure reference selector — both predicates, …
9874078
…hard gates, urgent predicate (#9491)

Pure, persistence-free reference selector in work/selection.rs:
task-requirement and caller-filter predicates both apply (#8097),
hard gates with typed exclusion reasons, and an urgent predicate
that names its qualifying classes from the active PriorityProfile.
Eligible candidates order by the shared V2 comparator. No live
broker behaviour changes.

Refs #9491, #9206
@coderabbitai

coderabbitai Bot commented Nov 25, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ba40aee0-6472-45f0-af24-b74081c240b5
Commits

Reviewing files that changed from the base of the PR and between 536ad2e and 9874078.

Files selected for processing: 1

  • pkgs/fleet/crates/fleet-queue/src/work/selection.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 25, 2026
design(pm-orchestration): Pure reference selector in pkgs/fleet/crates/fleet-queue/src/work/selection.rs #9491
Open
@dezren39

dezren39 commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Verification re-dispatch (xaltha lane, 2026-11-25 ~14:50 CST): prior run 45679999117 was cancelled. Re-dispatched once via the fleet-command.yml fallback in developing-today/fleet (#13185 blocks fleet queue dispatch), same command cargo test -p fleet-queue --lib --features client,queue-broker pmo_selection_ on branch xaltha/9491-sel01-selector. New run: https://github.com/developing-today/fleet/actions/runs/45698655753 — result pending. CI logs not read (log-readback is the held class on #14553).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 26, 2026
docs(fleet): CLI-04 design record for work next/open composition (#9440) #15443
Merged
design(pm-orchestration): Shared service composition for work next/open #9440
Open
id(hosted): refuse requests past the per-binding request cap (from #9080) #15485
Closed
@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Agent note · shepherd verification failed — task 23999 PARKED, PR #15186 NOT merged (lane WE, 2026-11-26)

  • Fresh verification run https://github.com/developing-today/fleet/actions/runs/45844002600 (cargo test -p fleet-queue --lib --features client,queue-broker pmo_selection_ on xaltha/9491-sel01-selector, head 98740787ca1dc70a9f5e11645b36536118833113) concluded completed / failure (updated 2026-11-26T15:03:42Z, metadata via API; no CI logs read — log-readback is the held class on main CI failure: pm-stack tests (run 45464688533) #14553).
  • This is the third non-pass in a row for this head: 45679999117 cancelled, 45698655753 failure, 45844002600 failure. That is not a verified head, so the PR was not merged despite being MERGEABLE / CLEAN with no review findings.
  • Queue task 23999 is parked with reason pr-verification-failing.
  • Ready condition (non-person): resume shepherding PR feat(fleet-queue): SEL-01 pure reference selector — both predicates, hard gates, urgent predicate (#9491) #15186 when a verification run of that exact cargo test command on head 98740787ca1dc70a9f5e11645b36536118833113 (or a successor head that fixes the failure) concludes success, OR a lane cleared for log-readback diagnoses the failure cause in runs 45698655753 / 45844002600 and a fix lands on the branch. On wake: re-check mergeability against current main immediately before merging, merge via merge-commit only if verified, do NOT re-implement.
  • Links: PR feat(fleet-queue): SEL-01 pure reference selector — both predicates, hard gates, urgent predicate (#9491) #15186 · runs 45698655753, 45844002600 · queue task 23999
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Shepherd re-check (xaltha lane, 2026-11-26 09:41 CST hourly run, queue task 23999):

  • Mergeability re-checked against current main: MERGEABLE / CLEAN, head unchanged at 9874078 on xaltha/9491-sel01-selector.
  • Review findings: none outstanding. The only review comment is CodeRabbit's rate-limit notice (no findings); no human review decision recorded.
  • Verification: still failing on the exact head. Runs 45698655753 and 45844002600 (fleet-command.yml fallback, cargo test -p fleet-queue --lib --features client,queue-broker pmo_selection_) both fail at the "Execute target command" step; setup/checkout steps succeed. Static review of selection.rs at this head shows no obvious defect, so diagnosis requires the CI log.
  • CI logs were NOT read: log-readback is the held execution-risk class on main CI failure: pm-stack tests (run 45464688533) #14553 (consolidated decision Bump checkmarx/ast-github-action from 2.0.11 to 2.0.18 #2, still awaiting the owner). Per that hold, this PR is not merged while verification fails on its exact head.

Resume condition (unchanged): a verification run on this head or a successor fixing head concludes success, or a log-readback-cleared lane diagnoses runs 45698655753/45844002600 and a fix lands on this branch. Task 23999 re-parked with that condition.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 26, 2026
impl(atlas/id): projector operations — run logging, replay, backfill (#6062 follow-on 3) #11184
Closed
@dezren39 dezren39 mentioned this pull request Nov 26, 2026
OpenClaw: finish setup, begin passing jobs, and review results against OpenCode #2171
Open
@dezren39
dezren39 merged commit 39a3108 into main Nov 26, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the xaltha/9491-sel01-selector branch November 26, 2026 21:38
@dezren39

dezren39 commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

code-g shepherd task 23999: merged at 39a3108 after the corrected workspace test succeeded in https://github.com/developing-today-forks/fleet/actions/runs/45894290337. Prior failed runs used the repository root rather than pkgs/fleet. Immediately before merge GitHub reported MERGEABLE/CLEAN at head 9874078; no review findings or holds. No closing keyword is recorded; issue #9491 remains open for its own disposition.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 26, 2026
id(phase-14): 100x feasibility run — find and record the wall #13088
Open
CF-2b (#14942): broker door-client end-state + live traffic cutover to D1 fleet-queue #14987
Open
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today developing-today Bot mentioned this pull request Nov 27, 2026
design(pm-orchestration): work-item lifecycle & fleet subcommand surface #9206
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.