Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: pass jobs_json via env var to fix stdin conflict in drift-to-issue#13

Merged
fullstackjam merged 1 commit into
mainopenbootdotdev/openboot.dev:mainfrom
fix/drift-to-issue-stdinopenbootdotdev/openboot.dev:fix/drift-to-issue-stdinCopy head branch name to clipboard
Jun 2, 2026
Merged

fix: pass jobs_json via env var to fix stdin conflict in drift-to-issue#13
fullstackjam merged 1 commit into
mainopenbootdotdev/openboot.dev:mainfrom
fix/drift-to-issue-stdinopenbootdotdev/openboot.dev:fix/drift-to-issue-stdinCopy head branch name to clipboard

Conversation

@fullstackjam
Copy link
Copy Markdown
Contributor

Summary

  • echo "$jobs_json" | python3 - <<'PY' is broken: the heredoc and pipe both compete for stdin. Python reads the script from the heredoc, leaving sys.stdin.read() to return an empty string, which causes json.JSONDecodeError on every run.
  • Fix: pass the JSON via JOBS_JSON env var and read it with os.environ["JOBS_JSON"] instead.

This is why drift-to-issue: All jobs have failed emails fire on every Harness run.

Test plan

  • Merge and verify the next Harness workflow run triggers drift-to-issue without error

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullstackjam fullstackjam merged commit b69df5e into main Jun 2, 2026
7 checks passed
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.