← Back to Pull requests

Remove the effect-actions-cloudflare package #86

Closed
unknown closed this pull request without merging on Nov 26, 2026 18:16 UTC
View on GitHub
unknown unknown commented on Nov 26, 2026 18:03 UTC
Author

Removes the companion package @gjermundgaraba/effect-actions-cloudflare (packages/cloudflare) and everything that existed only for it. Its two in-fleet consumers have already moved off it:

  • durable-effect-streams: gjermundgaraba/durable-effect-streams#19

  • durable-clanker: gjermundgaraba/durable-clanker#23, which moves the socket host into apps/agent/src/runtime
  • The core's public API is unchanged. Stored.ChangeListener, Stored.changeSignal, ActionRpc's poll exports, watchMode, ActionEntity.bindingRpcs, isClusterFailure and forwardedHeaders all stay, because durable-clanker's runtime uses them. The CHANGELOG's Unreleased section has the breaking entry and the migration. The version is not bumped; the release is a separate step.

    vp run ready: 4/4 tasks, 142 files, 1,569 tests.

    Deslop review: https://ampcode.com/threads/T-01a218fb-3209-76fa-b0cc-bc2028d3d762

    Applied:

  • npm.yml now checks the tag against package.json's version and publishes one package, without -r. test:package builds with vp run build.

  • Dropped the filler sentence in ActionMcp.md.

  • Facts and code that existed only in the package or in AGENTS.md's removed sections can still be found: AGENTS.md now points to tag v0.38.0 for them, and to durable-clanker's runtime as the package's successor.
  • Declined:

  • JSDoc describing "a socket host" with none in the repo. The exports are kept on purpose, and a real host uses them: durable-clanker's apps/agent/src/runtime. The JSDoc states the contract that host relies on.

  • Stored's "Written for SQLite, such as … a Durable Object" with no workerd test here. It is still written for that client, and durable-clanker's runtime tests run it on workerd. The "tested on" clause only names what this repository tests.

  • The catalog's lost rationale. The catalog still pins the root's dev dependencies, so keeping it needs no extra reason.

  • effect-latest.yml's vp update -r is harmless with one package, so I left it.
  • Coverage lost, which goes with removing support: the package's workerd tests were the only ones running some core behaviour on Effect's Cloudflare runtime. These include the defectRetryPolicy omission, the layerIdempotency hibernation, the webhook no-timer behaviour, and headers and Rpc.fork on that runtime. Effect's own runners still cover them here. durable-clanker's runtime tests keep covering what it uses.

    Diff: 302 lines (+226 / -76) across 3 files Reviewer: gjermundgaraba Review duration: 13m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 302 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.342
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #86"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 40.1% (MEDIUM) · Higher = larger blast radius
    40.1%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 15.8% · Safe to merge
    15.8%