vercel / vercel/workflow

Inline step execution optimization on Vercel doesn't make use of full function timeout

Open
#1,927 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
365
Avg merge
2d 11h
Merged PRs (30d)
169

Description

After #1338, we inline-execute steps for higher performance, but the flow still suspends every ~2 minutes, even if I set my function timeouts to 13 min (800s).

This should be configurable or set to a better heuristic

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the inline step execution introduced by #1338 and locate the logic that suspends the flow after about two minutes. Read how function timeouts are configured and check for related tests. Done means the suspension limit can use the configured timeout or a documented heuristic, with coverage for the 800-second case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.