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 — fleet queue: retain ready_condition in rich list read-back (#14317) by dezren39 · Pull Request #14638 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

Closes #14317.

Root cause: the drop was in the read-back projection, not the park verb. verb_park (turso_queue/lifecycle.rs) correctly persists a supplied ready_condition to the task row, but verb_list's rich projection in turso_queue/admin.rs — the read-back behind fleet queue show and list --json — omitted ready_condition (and park_kind, wait_kind, last_error) from its SELECT, even though cmd_show's field list reads exactly those fields from the row. A parked task therefore read back ready_condition: null and its early-wake hook looked gone (task 20944, verified live: the rich row for 20944 carries no ready_condition key at all while status/not_before are present).

Fix: add park_kind, wait_kind, ready_condition, last_error to the rich SELECT and parse ready_condition as JSON in the rich row, so the read-back returns the stored structured condition verbatim.

Evidence

Regression tests added in turso_queue/lifecycle.rs (oracle: the supplied condition object, compared verbatim):

  • park_retains_ready_condition_through_rich_list_readback_14317 — parks a claimed task with --ready-condition {"kind":"event_seen","event_kind":"trigger_fired","note":"trigger prioritized"} and an explicit not_before; asserts the park envelope row, the stored row, and the rich /list read-back all carry the same condition, plus park_kind/wait_kind/last_error present.
  • parked_ready_condition_is_evaluated_before_not_before_14317 — after the named event fires, the park-revalidation sweeper releases the task (status queued, not_before cleared) even though not_before is months away: the stored condition is evaluated, satisfying the early-wake acceptance criterion.

Remote verification (fleet-command.yml fallback, since fleet queue dispatch is blocked by TLS defect #13185):

  • Run 45499932886 (developing-today/fleet): cd pkgs/fleet && cargo test -p fleet-queue --lib --features queue-broker 14317 — 2 passed, 0 failed, 654 filtered out. https://github.com/developing-today/fleet/actions/runs/45499932886
  • Note: an earlier run (45497047849) without --features queue-broker passed vacuously (0 matched, turso_queue is feature-gated); the featured run above is the real evidence.

Merge Danger

Low. The rich /list SELECT gains four columns that already exist on the tasks table; additive to the JSON row shape. No storage, park-verb, or claim-path change. The #8234 handoff-sink landing (which deliberately nulls wait fields for handoff-shaped rows with no caller-declared genuine wait) is unchanged.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T22:26:37Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

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

All reactions
@dezren39
fleet queue: retain ready_condition in rich list read-back (#14317)
856b5e0
verb_park persists a supplied ready_condition, but verb_list's rich
projection (the read-back behind queue show and list --json) omitted
ready_condition, park_kind, wait_kind and last_error, so a parked
task read back ready_condition: null and its early-wake hook looked
gone (task 20944). Add the wait fields to the rich select, parse
ready_condition as JSON there, and add regression tests: park
retention through the rich read-back, and revalidation releasing a
parked task whose stored event_seen condition fires before
not_before.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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 24, 2026
fleet queue: park verb does not retain ready_condition (parked task reads back null) #14317
Closed
3 tasks
@dezren39
Merge remote-tracking branch 'origin/main' into xaltha/14317-park-rea…
532993b
…dy-condition

# Conflicts:
#	pkgs/fleet/crates/fleet-queue/src/turso_queue/admin.rs
@developing-today-fleet
developing-today-fleet Bot merged commit c4fb6ac into main Nov 25, 2026
2 checks passed

Uh oh!

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

@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/14317-park-ready-condition branch November 25, 2026 11:50
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.

fleet queue: park verb does not retain ready_condition (parked task reads back null)

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.