Skip to content

test(timing): Set the Slack status pace as a limit - #5342

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
test/inject-status-interval
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
test/inject-status-interval

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

A Slack progress status shows for at least a fixed 1.2 s before a newer one replaces it, so anything that has to see a reported progress must keep a call running past 1.2 s of real time.

This adds limits.statusMinVisibleMs, the least time a progress status shows. The default stays 1.2 s, so existing apps see no difference. Main's Slack Turn, its resume path, and core's step status all pass it to the status scheduler from the bot config.

The scheduler's separate 1 s debounce goes: it was always shorter than the 1.2 s minimum, so it never set the wait, and it would hold a shorter minimum at 1 s.

via @thomasjiangcy.

--

View Session [Sentry]

Add limits.statusMinVisibleMs, the least time a Slack progress status shows
before a newer one replaces it. The default stays 1.2 s. The scheduler's
1 s debounce never outlasted that time, so it goes. The progress status
tests set a short time and a tool that runs past it.

Co-Authored-By: Thomas Jiang <20501235+thomasjiangcy@users.noreply.github.com>
@vercel

vercel Bot commented Dec 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
junior-docs Ready Ready Preview Dec 6, 2026 2:11pm UTC

Request Review

@sentry-junior
sentry-junior Bot marked this pull request as ready for review December 6, 2026 14:19
@sentry-junior
sentry-junior Bot requested a review from thomasjiangcy December 6, 2026 14:19
@github-actions github-actions Bot added the risk: high PR risk score: high label Dec 6, 2026

This branch was successfully deployed

1 active deployment
Preview – junior-docs — 6af35d83 Deployed Dec 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant