fix: use compact JSON format in consumer activity step#959
Conversation
The workflow_counts and activity_json were being built with formatted output (jq -r) which included whitespace. This caused 'Invalid format' errors when writing to GITHUB_OUTPUT. Changes: - Use jq -c (compact) for workflow_counts - Use jq -cn for repo_json - Use jq -c when appending to activity_json - Add final jq -c compaction before output
Automated Status SummaryHead SHA: 240605d
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
This PR fixes a workflow failure in the "Check Consumer Repo Activity" job caused by multi-line JSON being written to GITHUB_OUTPUT. The solution changes all jq commands in the consumer activity step to use compact JSON output format.
Changes:
- Updated jq commands to use compact output flags (
-cand-cn) throughout the consumer activity step - Added a final compaction step before writing to GITHUB_OUTPUT
- Updated inline comments to clarify the use of compact output
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🤖 Keepalive Loop StatusPR #959 | Agent: Codex | Iteration 0/5 Current State
🔍 Failure Classification| Error type | infrastructure | |
Automated Status Summary
Scope
After merging PR #103 (multi-agent routing infrastructure), we need to:
Context for Agent
Design Decisions & Constraints
<!-- keepalive-loop-summary -->| github-actions[bot] | NEW: CLI agent iteration tracking | ✅ Keep for CLI agents |<!-- keepalive-state:v1 -->| agents-workflows-bot[bot] | State tracking |<!-- keepalive-round: N -->| stranske | OLD: Instruction comment | ❌ CLI agents dont need this |agent:*label), we should have exactly one updating comment (<!-- keepalive-loop-summary -->) instead of accumulating 10+ comments per PR.Related Issues/PRs
References
Blockers & Dependencies
Tasks
GITHUB_STEP_SUMMARYoutput so iteration results are visible in the Actions UIAcceptance criteria
Head SHA: 28c5415
Latest Runs: ✅ success — Gate
Required: gate: ✅ success