Skip to content

Keep Project Intake gh stderr out of JSON output#1321

Merged
codeforester merged 1 commit into
mainfrom
ci/1317-20260630-project-intake-stderr-json
Jul 1, 2026
Merged

Keep Project Intake gh stderr out of JSON output#1321
codeforester merged 1 commit into
mainfrom
ci/1317-20260630-project-intake-stderr-json

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • capture project_intake_gh stdout and stderr separately
  • replay successful stderr notices on stderr without contaminating JSON stdout
  • keep auth and retry diagnostics using combined failure output
  • add a regression test for non-fatal gh stderr with valid JSON stdout

Fixes #1317

Tests

  • PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest tests/test_github_workflows.py::test_project_intake_keeps_success_stderr_out_of_json_stdout -q
  • PYTHONPATH=lib/python:cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest tests/test_github_workflows.py -q
  • git diff --check

@codeforester codeforester requested a review from a team as a code owner July 1, 2026 01:44
@codeforester codeforester merged commit 8d92815 into main Jul 1, 2026
24 checks passed
@codeforester codeforester deleted the ci/1317-20260630-project-intake-stderr-json branch July 1, 2026 01:47
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.

Keep Project Intake gh stderr out of JSON output

1 participant