Conversation
- CHANGELOG: document all changes since v0.14.0 - Version bump: both packages to 0.15.0 - Docs: WAL checkpoint in databases.md and llms.md - Docs: useJobRun lifecycle callbacks (onStart/onComplete/onFail) - Docs: maxConcurrentRuns in CLAUDE.md, concepts.md - Docs: waitForRun and coalesce in CLAUDE.md - Regenerate llms.txt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughVersion 0.15.0 のドキュメンテーション更新。 Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant API as Durably API
participant Storage as DB/Events
participant Worker
Client->>API: trigger(job, opts)
API->>Storage: persist pending run
alt coalesce: 'skip' and pending exists
API-->>Client: TriggerResult { run, disposition: "coalesced" }
else created
API-->>Client: TriggerResult { run, disposition: "created" }
end
Worker->>Storage: lease/claim pending run (respect maxConcurrentRuns / concurrencyKey)
Worker->>Worker: execute job
Worker->>Storage: emit events (progress, log, complete/fail)
Client->>API: waitForRun(runId, options?) (subscribes to events)
API->>Client: stream events / resolve on complete/fail or timeout
Note over Storage: idle maintenance may run PRAGMA wal_checkpoint(TRUNCATE) for local SQLite
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@CHANGELOG.md`:
- Line 42: The changelog entry for TypedRun / TypedClientRun incorrectly says it
removes "null checks" even though the change only removes `undefined` from the
default `output` type; update the wording to say "undefined checks" (or "checks
for undefined") so it matches the actual type change to `TypedRun` /
`TypedClientRun` output and does not imply `null` was removed.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 38256cf6-4b0e-469f-aba1-9e49ecfec7ce
📒 Files selected for processing (10)
CHANGELOG.mdCLAUDE.mdpackages/durably-react/docs/llms.mdpackages/durably-react/package.jsonpackages/durably/docs/llms.mdpackages/durably/package.jsonwebsite/api/durably-react/fullstack.mdwebsite/guide/concepts.mdwebsite/guide/databases.mdwebsite/public/llms.txt
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
Release v0.15.0 for both
@coji/durablyand@coji/durably-react.Breaking Changes
trigger()returnsTriggerResultwithdispositionfield;concurrencyKeymax 1 pending (feat: coalesce trigger with concurrencyKey pending limit (#143) #148)useRunActions()removesisLoading/error; use React 19useTransition(feat: redesign durably-react hooks for React 19 #179)Added
waitForRun(runId, options?)with polling fallback (feat: add waitForRun(runId) API (#144) #151, feat: classify events and add waitForRun polling fallback (#162 step 2/4) #169)maxConcurrentRunsworker option (feat: add maxConcurrentRuns to worker (#162 step 3/4) #173)isDomainEvent()(feat: classify events and add waitForRun polling fallback (#162 step 2/4) #169)isTerminal/isActiveon run objects (feat: redesign durably-react hooks for React 19 #179)useRunsstatus array filter (feat: accept status array in useRuns filter (#140) #154)createJobHooks().useRun()lifecycle callbacks (feat: pass onComplete/onFail callbacks through createJobHooks useRun #155)Fixed
TypedRun/TypedClientRunoutput type excludesundefined(fix: exclude undefined from TypedRun/TypedClientRun output default type #145)Docs
Test plan
pnpm validatepasses (244 tests, 28 tasks)find-stale.shcleanllms.txtregenerated🤖 Generated with Claude Code
Summary by CodeRabbit
新機能
重要な変更