Workflows: follow-ups from the #38882 review
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
Start with workflow.ts for the signal and wait follow-up, then trace the agent-step and trigger runtime paths named in the issue. The list spans signal persistence, cancellation and deadlines, linked runs, issue linking, Forge pagination, and runtime imports, so each item needs its own investigation. Done means addressing the listed follow-ups with behavior that holds across retries and restarts; the issue names no tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-ups from CodeRabbit's full review of #38882 (durable workflows) at 9eb23b1. Each was checked against the code and holds, but needs a design change bigger than that PR's review round. The minor comments from the same review are left to be picked up with the area they touch.
Signals and waits
- Validate a signal against the wait's own codec, not only its generated JSON Schema, before it wakes the wait (
Schema.FiniteFromStringpasses{type: "string"}, then fails decode after the wait has closed).workflow.tswait and early mail. signalAllretries query the current waits again: give a broadcast an id and persist its recipient set.- Reusing a signal id with a different address or payload: deliver what the store accepted, or refuse the reuse.
Agent steps
- A stop that fails during cancellation is not retried: keep a pending stop until it gets through, across restarts.
- At a deadline, stop the restart continuation of the step's turn, not only the original turn.
- A died turn on a continued thread is retried on that same thread: starting a new thread in the original thread's project needs that project at agent start, locally and over a link.
- Linked environments: use the run a linked wait settled on (a continuation), and read it by id rather than from the 50 most recent runs.
- Issue linking runs on the deadline path: record the turn and its deadline first, link separately and bounded.
- Collect a step's reply from its own run, not the thread's whole history.
Triggers and runtime
- Forge looks read at most 100 items: page back to the previous cursor instead of advancing past unread items.
- Track the definition source the runtime evaluated, not the one read before the import.
From the cross-lab review (Claude Fable 5.2, Gemini 4 Neon, Grok 4.7)
- A child that ends while the engine starts never tells its parent: the sweep is forked before
link.currentis set (WorkflowEngine.ts), sorun/toldjournals a no-op and the parent'sinvokewaits for good. runStatus("waiting")can overwritepaused(nostatus != 'paused'guard), so a run with a failed parallel branch and an open wait may sit inwaitingwithout resuming or showing in Needs you.- The engine's BigInt SQLite setting leaks into cancels and
onEndretries started by the sweep, so their thread interrupts fail quietly. - A scheduled start that fails still stores the next due time, so that occurrence is skipped.
- A step's automatic signal ids are positional, so a retried step that signals a different list drops signals.
runs()stops at 500 without saying so.- Forge
openedtriggers compare ISO timestamps as text, which breaks across formats. invokehas no timeout;pullRequests.waittakes noheadSha, so a wait after a push can settle on the previous commit's checks.- After two corrections without a result, an agent is restarted from scratch on a new thread.
- A reload refused for cross-file problems still updates the last good version of the file.
- Later, additive: a durable
race(and cleanup of a wait a plainEffect.raceloses), a concurrency cap or lock, more forge triggers, continue-as-new, retention.
Fixed on #38882 in 4703fc6 and taken out of this list: cancel stopping the whole thread, save reporting success too early, a definitions file that never finishes loading, and history with no definitions.
🤖 Generated with Claude Code
- Ngôn ngữ chính
- TypeScript
- Star
- 24.8k
- Fork
- 6.4k
- Merge trung bình
- 4 giờ 29 phút
- Pull request đã merge (30 ngày)
- 488
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pingdotgg/t3code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
needs more info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pingdotgg/t3code#39400 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Wrapped PR titles lose bottom padding in the thread details panelCó thể đã có người làm @iamdatvt94 đã nhận 1 ngày trước. Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pingdotgg/t3code
Issue tương tự
-
area:plugins kind:bug priority:p2 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Escaped `*` followed by `*` (`\**`) never matchesCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 71/100
editorconfig/editorconfig-core-js#172 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
vega/vega-webgpu#40 ·
-
Adjust break point sizingĐang mởtype: bug 🐛
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
puckeditor/puck#1929 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
compression() compresses every response at Brotli quality 11Có thể đã có người làm @staylor đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày