GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(queue): add single-task show with limited history (#8200) by dezren39 · Pull Request #12311 · developing-today/code Conversation
|
|
Warning Review limit reachedYou'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 47 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 930c1421af
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| let resp = unwrap_ok(call( | ||
| "/list", | ||
| &json!({"rich": true, "task": task_id, "limit": 1}), | ||
| )); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fetch the stored wait state for task details
For a parked task, this request cannot retrieve the current park_kind, wait_kind, or ready_condition: both the Turso verb_list rich projection and the PostgREST /list rich projection omit those columns. verb_park stores them as task columns, not in progress, so the fallbacks below do not recover them. Consequently, both human-readable output and --json omit the actual wake condition needed to diagnose why a task is parked. Extend the rich projections or use a full-task read before presenting these details.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| let response = call( | ||
| "/events-list", | ||
| &json!({"task_id": task_id, "kind": kind, "limit": 1000}), |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Retrieve the newest events before selecting the history tail
If a task has more than 1,000 retained events of any selected kind, this fetch silently excludes its newest events of that kind. The Turso verb_events_list implementation uses ORDER BY id ASC LIMIT {limit}, so sorting these responses and taking their tail produces a tail of the oldest capped records, not the task's most recent history. Increasing --limit cannot recover the missing records. Fetch newest-first or paginate the events before normalization and tail selection.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Verification refreshed on merged-main tip |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
feat(queue): fleet queue history verb — read one task's full audit timeline in one call
There was an error while loading. Please reload this page.