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: task_history foundation (Q1, Part of #14170), rebased on main by dezren39 · Pull Request #14700 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Before: the Q1 task_history work sat on PR #14441, which had stalled since Nov 24 with merge conflicts against main, so Q2 to Q6 and Q8 of #14170 were all parked behind code that was never on main.

After: the same Q1 commits, with current main merged in, ready to land. Every lifecycle transition writes a task_history row in the same transaction as its event, /history-backfill fills history from existing events, and /history-since reads it.

The only conflict was the SCHEMA array length: main added 4 entries and Q1 added 3, so it is now 34 (counted entry by entry). No Q1 logic changed. This supersedes #14441, which will be closed once this merges.

How: merged origin/main into queue-q1-task-history (head aea7830973a), fixed the array length, and ran cargo test -p fleet-queue --features client,queue-broker --lib remotely through fleet queue dispatch.

Part of #14170


Generated by Claude Code


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 and others added 9 commits November 24, 2026 07:51
@dezren39
Merge origin/main into queue-q1-task-history
3e893db
@dezren39
fleet-queue: task_history table and dual-write in event() (#14170 Q1)
93af6e6
Adds the task_history table (event_id UNIQUE, status/priority from-to,
actor, session, model marks, source) and two indexes; SCHEMA 27 -> 30.
event() writes the history row in the same BEGIN IMMEDIATE batch as the
events row for mapped lifecycle kinds; other kinds are unchanged.
verb_enqueue writes an enqueued event so the first transition is recorded.
Atomicity is the BEGIN IMMEDIATE batch pattern used by verb_reprioritize;
verified only by the fake harness until the remote run.
@dezren39
fleet-queue: scripted task_history oracle (#14170 Q1)
6dfc197
Drives enqueue, claim, park, wake, block, unblock, reprioritize and
complete through the real verbs on the fake pipeline harness and asserts
one history row per mapped event, to_status equal to the task's actual
status after each verb, and actor/session/model/priority on the rows.
@dezren39
fleet-queue: history backfill, /history-since, reprioritize history r…
55bbc53
…ow (#14170 Q1)

/history-backfill inserts one task_history row per mapped events row
without one (source='backfill', INSERT OR IGNORE on event_id) and
reports census, inserted and skipped. /history-since reads task_history
in id order, optionally per task and since a time. reprioritize writes
its history row in its existing BEGIN IMMEDIATE batch, gated on the
CAS update. Backfill and history-since tests added to the oracle module.
@dezren39
fleet-queue: oracle enqueues a validated packet (#14170 Q1)
76ac40a
The first remote run on the real ref failed the oracle at enqueue
(packet must be a JSON object): enqueue takes a packet, not a task.
Use the packet shape from the enqueue tests and supply completion
evidence for the small_fix gate.
@dezren39
fleet-queue: oracle reads the enqueued row id (#14170 Q1)
226e1e3
enqueue answers with the row envelope under "row", not "task".
@dezren39
fleet-queue: woken maps parked -> queued, not claimed (#14170 Q1)
deb52a5
The remote oracle caught the mapping: wake returns the task to the
queue (UPDATE status='queued'), it does not claim it. The oracle now
re-claims after wake and asserts the claimed row.
@dezren39
fleet-queue: oracle completes with a verified disposition (#14170 Q1)
aea7830
The small_fix completion gate requires result.disposition (checked_at,
source, issue, pulls, verdict); supply a merged_verified readback so
the scripted lifecycle reaches done.
@claude
Merge origin/main into Q1 task_history (#14170): SCHEMA now 34 entries
11bf68b
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •
edited
Loading

Uh oh!

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

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 58 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: fab2e774-3a8a-480e-8f87-f7d27a9e89d0
Commits

Reviewing files that changed from the base of the PR and between a9e6839 and 11bf68b.

Files selected for processing: 4

  • pkgs/fleet/crates/fleet-queue/src/turso_queue/claim.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/core.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/lifecycle.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/stacks_outbox.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: queue metadata, notes, status history, resolution taxonomy, label + GitHub change tracking #14170
Open
@dezren39
dezren39 marked this pull request as ready for review November 25, 2026 01:24
@dezren39
dezren39 merged commit f0c4321 into main Nov 25, 2026
1 check passed

Uh oh!

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

@dezren39
dezren39 deleted the claude/project-thread-lz086b branch November 25, 2026 01:24
This was referenced Nov 25, 2026
fleet-queue: task_history foundation (Q1, Part of #14170) #14441
Closed
Queue labels: label add/remove history in the mirror plus a task label cache (#14170 Q5) #14730
Merged
feat(fleet-queue): add queue metadata support #14483
Merged
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 25, 2026
Fleet park + cap audit (2026-11-12): parks that can never lapse, bound-work parks on verified-stale bindings, escalation-as-park, and BATCH_CLAIM_MAX for Drew's call #9179
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.

2 participants

@dezren39 @claude
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.