main · last commit
13 days ago ·
7g0stsfu
ah-1cx.14 runner: the crash-confirmed full parse repeats every poll while finalize keeps failing
Lined Up
bd update ah-1cx.14 --claim
bd close ah-1cx.14
| Created by | Eugene Blikh |
| Owner | bigbes@gmail.com |
| Created | 2026-08-04T23:43:43Z |
| Updated | 2026-08-04T23:43:43Z |
Noted while fixing ah-1cx.1. ah-1cx.1 added a full ParseEventsFile to Status's crash-confirmed branch, because a confirmed crash writes an immutable finished row and previously relied on the top-of-Status parse for the failure comment's session id and cost. Correct — but once past the grace, every subsequent Status of a still-unfinalized crashed attempt re-reads the whole stream. Bounded in practice (finalize normally succeeds on the first observation), and far less severe than the original ah-1cx.1 bug, which hit every in-progress task on every tick. But it is the one remaining O(stream) call reachable from the poll loop, so it is worth closing once ah-1cx.8's or ah-1cx.9's stream-size work lands — a 202 MB stream re-read in a loop is the same starvation shape.
A crashed-but-unfinalized attempt does not re-read the whole event stream on every poll — either the facts are cached per (task, attempt) or the parse moves to the finalize call itself.
ah-1cx
— Hardening: post-audit bug sweep (2026-07-20)
parent-child
open
Nothing depends on this issue.
| id | ah-1cx.14 |
| content_hash | 2bcefeca5810ee4589983de45c6f9eda40eca330f7c51a579954fa4007896a5f |
| title | runner: the crash-confirmed full parse repeats every poll while finalize keeps failing |
| description | Noted while fixing ah-1cx.1. ah-1cx.1 added a full ParseEventsFile to Status's crash-confirmed branch, because a confirmed crash writes an immutable finished row and previously relied on the top-of-Status parse for the failure comment's session id and cost. Correct — but once past the grace, every subsequent Status of a still-unfinalized crashed attempt re-reads the whole stream. Bounded in practice (finalize normally succeeds on the first observation), and far less severe than the original ah-1cx.1 bug, which hit every in-progress task on every tick. But it is the one remaining O(stream) call reachable from the poll loop, so it is worth closing once ah-1cx.8's or ah-1cx.9's stream-size work lands — a 202 MB stream re-read in a loop is the same starvation shape. |
| design | |
| acceptance_criteria | A crashed-but-unfinalized attempt does not re-read the whole event stream on every poll — either the facts are cached per (task, attempt) or the parse moves to the finalize call itself. |
| notes | |
| status | open |
| priority | 4 |
| issue_type | chore |
| assignee | NULL |
| estimated_minutes | NULL |
| created_at | 2026-08-04T23:43:43Z |
| created_by | Eugene Blikh |
| owner | bigbes@gmail.com |
| updated_at | 2026-08-04T23:43:43Z |
| closed_at | NULL |
| closed_by_session | |
| external_ref | NULL |
| spec_id | |
| compaction_level | 0 |
| compacted_at | NULL |
| compacted_at_commit | NULL |
| original_size | NULL |
| sender | |
| ephemeral | 0 |
| wisp_type | |
| pinned | 0 |
| is_template | 0 |
| mol_type | |
| work_type | |
| source_system | |
| metadata | �{} |
| source_repo | |
| close_reason | |
| event_kind | |
| actor | |
| target | |
| payload | |
| await_type | |
| await_id | |
| timeout_ns | 0 |
| waiters | |
| hook_bead | |
| role_bead | |
| agent_state | |
| last_activity | NULL |
| role_type | |
| rig | |
| due_at | NULL |
| defer_until | NULL |
| no_history | 0 |
| started_at | NULL |
| is_blocked | 0 |
| issue_id | ah-1cx.14 |
| label | milestone:v0.2.0 |
| id | 15b29cc5-1e5a-5701-a8d9-43de93680714 |
| issue_id | ah-1cx.14 |
| type | parent-child |
| created_at | 2026-08-05T02:43:43Z |
| created_by | Eugene Blikh |
| metadata | �{} |
| thread_id | |
| depends_on_issue_id | ah-1cx |
| depends_on_wisp_id | NULL |
| depends_on_external | NULL |
| id | 019fcf29-5fbc-772f-8cd9-8efa0218d6e0 |
| issue_id | ah-1cx.14 |
| event_type | created |
| actor | Eugene Blikh |
| old_value | |
| new_value | |
| comment | NULL |
| created_at | 2026-08-05T02:43:43Z |
| id | 019fcf42-1d65-714c-8f58-31438a324c4f |
| issue_id | ah-1cx.14 |
| event_type | label_added |
| actor | Eugene Blikh |
| old_value | NULL |
| new_value | NULL |
| comment | Added label: milestone:v0.2.0 |
| created_at | 2026-08-05T03:10:44Z |
No comments.