overengineeringstudio / overengineeringstudio/effect-utils

devenv shell commands produce empty output when run in background

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

Nobody has claimed this yet.

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

Description

Problem

Running devenv shell -- bash -c '<command>' in background produces 0-byte output files for extended periods (60+ seconds), even though the command eventually completes successfully.

Reproduction

  1. Run a command via devenv shell -- bash -c 'echo hello' redirecting output to a file
  2. Check the output file — it remains empty for a long time
  3. Eventually the command completes and output appears (or doesn't)

Impact

Makes it difficult to use devenv shell commands in automated/background contexts (e.g. CI, agent workflows) where you need to monitor output progress.


Filed by Claude on behalf of @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 at the devenv shell command entry point and reproduce the background invocation with redirected output. Trace how command output is spawned and flushed, then verify that output appears promptly while the command runs and that the existing reproduction completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.