overengineeringstudio / overengineeringstudio/effect-utils

Root-cause Linux CI reconnect flake in PtySession test

Open
#557 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
Dominant language
TypeScript
Stars
82
Forks
2
Avg merge
1d 8h
Merged PRs (30d)
121

Description

Problem

packages/@overeng/pty-effect/src/PtySession.test.ts still skips the server reconnect test on Linux x64 CI.

The test logic was improved to wait for naturally emitted post-reconnect output instead of racing a write into the reconnect path, but the Linux CI lane still flakes. The skip keeps CI green, but it is a tactical suppression rather than a root-cause fix.

Goal

Root-cause the Linux x64 CI reconnect behavior and remove the platform-specific skip.

Acceptance

  • Reproduce and explain why the reconnect test is unstable on Linux x64 CI.
  • Re-enable the test on Linux CI.
  • Simplify the test if any remaining complexity only exists to paper over the CI behavior.

Acting on behalf of Johannes Schickling.

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 in packages/@overeng/pty-effect/src/PtySession.test.ts, focusing on the skipped server reconnect test and its post-reconnect output handling. Reproduce the failure on the Linux x64 CI lane and trace why the reconnect is unstable there. Done means the cause is explained, the test is re-enabled on Linux CI, and any workaround-only complexity is removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, typescript
Domain
ci-cd, operating-systems, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.