Skip to content

test: production control-plane rollout end to end - #14

Open
zehongye-gaga wants to merge 2 commits into
mainfrom
test/control-live-20261028
Open

zehongye-gaga wants to merge 2 commits into
mainfrom
test/control-live-20261028

Conversation

@zehongye-gaga

Copy link
Copy Markdown
Collaborator

Production rollout validation for the backend-owned OCR control plane, public Policy workflow, and published Github-CI n8n gateway.

This disposable fixture intentionally violates its documented empty-input behavior so the real Agent/native OCR should publish a blocking finding. A follow-up commit will correct the fixture to verify a new snapshot is reviewed independently. Do not merge this test branch.

Validation follows actual GitHub App and organization CI ingress, durable admission, Agent dispatch, native OCR, publication, and deduplication. AI disclosure: created with OpenAI Codex (GPT-6).

@lexmount-ocr lexmount-ocr Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 179c9a9

This review found 1 issue(s), including 1 blocking issue(s).

Comment thread control_plane_probe.py Outdated

def bounded_average(values):
"""Return zero for empty input and the arithmetic mean otherwise."""
return sum(values) / len(values)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug · medium
Blocking: bounded_average([]) raises ZeroDivisionError because len(values) is zero, instead of returning zero as documented. Handle the empty input before dividing and add a regression test asserting bounded_average([]) == 0.

Suggestion:

Suggested change
return sum(values) / len(values)
if len(values) == 0:
return 0
return sum(values) / len(values)

@lexmount-ocr lexmount-ocr Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Re-review complete · eaeb699

No findings in this incremental review.

Comment thread control_plane_probe.py Resolved
Comment thread control_plane_probe.py Resolved
Comment thread control_plane_probe.py Resolved
Comment thread control_plane_probe.py Resolved
Comment thread control_plane_probe.py Resolved
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