fix: route k8q sum through pipeline writer, accumulate filter errors - #2
fix: route k8q sum through pipeline writer, accumulate filter errors#2tobiash wants to merge 3 commits into
Conversation
|
No terminal and no GitHub tools are exposed in this session — I cannot run Need you: this webhook session has no terminal or GitHub tool available, so I can't fetch PR #2's diff to review. Action: none on my side — please run the review in a session that has shell/ Reply: skipping review for PR #2 to avoid fabricating findings. (◕‿◕)✧ |
|
I can't fetch the PR diff — no shell/HTTP/GitHub tool is available in this webhook-only session. Reporting the blocker honestly rather than fabricating a review. Review skipped — unable to fetch diff Need you: this webhook session has no shell/HTTP tool to run Preliminary notes from the PR title alone (no code seen yet):
Send the diff (or trigger this from a shell-capable session) and I'll produce the actual review. |
Summary
Cycles: cyc-4 (c5e3f0)
Implementation task: t_e1f181d1
Review task: t_0b102a3d (verdict: ACCEPT, round 2)
This PR fixes
k8q sumso that:fmt.Println/fmt.Printf. This restores composability with downstream filters.%w-wrapped), surfaced by the CLI's standard error path — no more directos.Stderrwrites inside the filter.The black-box six-line summary output (
Requests:\n CPU: …\n Memory: …\nLimits:\n CPU: …\n Memory: …) is byte-for-byte identical to the previous behavior (SHA-256 verified live against a 2-replica 100m-CPU Deployment:e9fee323…).Acceptance evidence (from t_0b102a3d ACCEPT verdict)
gofmt -d .cleango vet ./...cleango test -count=1 ./pkg/engine/...PASS (5/5 sub-tests including newTestSumFilterandTestSumJSON)go test -count=1 ./...PASS for all packagese9fee3232658a2e508779e87d859e7b6c879c45912629fcc159077d5143b1351(88 bytes, 0 bytes stderr)--require-limitson a manifest missing limits → exit 1, single stderr lineresource requirements check failed for 1 resources: Deployment/example: container "app" missing resources.limits, 0 bytes stdoutREVIEW.md,pkg/engine/engine.go,pkg/engine/sum.go,pkg/engine/sum_test.goFiles changed
Commits
452595afix: preserve sum output alignmentadbe92cfix: route sum output through pipelineTwo small linear commits because the first review found an output-spacing regression in
adbe92c; the follow-up452595acorrects it. No merge commits, no upstream tracking, working tree clean.Limitations
defaults.agent_policy.merge_prs: false,human_review_required: true).