Skip to content

fix(twitter): relax reply composer textarea timeout to 15s#862

Merged
jackwener merged 1 commit intomainfrom
fix/twitter-reply-timeout
Apr 7, 2026
Merged

fix(twitter): relax reply composer textarea timeout to 15s#862
jackwener merged 1 commit intomainfrom
fix/twitter-reply-timeout

Conversation

@jackwener
Copy link
Copy Markdown
Owner

Summary

  • Relax tweetTextarea_0 wait timeout from 8s to 15s
  • Compose page loads Draft.js editor which is heavier; 8s is too tight for slow networks
  • Aligns with the file input timeout (20s) in magnitude

Follow-up to #860 (merged). Review finding from #855.

Test plan

  • npx vitest run clis/twitter/reply.test.ts — 7 passed

The compose page needs to load Draft.js editor which is heavier than
primaryColumn. 8s is too tight for slow networks and will cause flaky
failures. 15s aligns with the file input timeout (20s) in magnitude.
@jackwener jackwener merged commit 813e282 into main Apr 7, 2026
9 checks passed
@jackwener jackwener deleted the fix/twitter-reply-timeout branch April 7, 2026 10:50
jackwener added a commit that referenced this pull request Apr 7, 2026
…ipeline

1. Rebase on main picks up #860/#862 (all replies use dedicated composer),
   so dry-run no longer regresses the text-reply fix.

2. Switch incident mode metric from pass_count (higher) to
   regression_count (lower). eval-cli.ts now outputs REGRESSIONS=N
   alongside SCORE=X/Y. fix.ts incident mode greps for REGRESSIONS=
   so infra/precondition failures don't pollute the metric.

3. Add pre-flight check in incident mode: detects infra/precondition
   failures and bails early with a clear message instead of entering
   the engine loop.

4. Pass prompt via stdin (not shell-escaped string) in incident mode
   modify callback, matching the convention from main.
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.

1 participant