Skip to content

Upgrade to Effection v4 - #24

Merged
cowboyd merged 1 commit into
mainfrom
upgrade/effection-v4
Oct 2, 2026
Merged

cowboyd merged 1 commit into
mainfrom
upgrade/effection-v4

Conversation

@cowboyd

@cowboyd cowboyd commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

Motivation

Upgrade Revolution to the current stable Effection v4 API and modernize its Deno dependency lockfile. Effection v4 separates several responsibilities previously bundled into call() and action(), and changes child-task scheduling semantics.

Approach

  • Upgrade Effection from 3.6.1 to 4.0.3 and require v4 as the npm peer dependency.
  • Replace promise-valued call() usage with until().
  • Model HTTP response short-circuiting explicitly with scoped(), withResolvers(), and race().
  • Establish the SSE channel subscription before spawning its consumer, avoiding reliance on child-task scheduling order.
  • Normalize route parameters before storing them in an Effection context.
  • Regenerate the Deno 2 lockfile and update the HAST className representation exposed by current dependency resolution.

Learning

@taras taras left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@cowboyd
cowboyd merged commit 47f67a4 into main Oct 2, 2026
2 checks passed
@cowboyd
cowboyd deleted the upgrade/effection-v4 branch October 2, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants