8000 fix(benchmarks): report failed Harbor stage-one cells by Jun516 · Pull Request #3828 · xerj-org/xerj · GitHub
[go: up one dir, main page]

Skip to content

fix(benchmarks): report failed Harbor stage-one cells - #3828

Open
Jun516 wants to merge 1 commit into
xerj-org:mainfrom
Jun516:fix/harbor-stage1-failure-status
Open

Jun516 wants to merge 1 commit into
xerj-org:mainfrom
Jun516:fix/harbor-stage1-failure-status

Conversation

@Jun516
@Jun516 Jun516 commented Dec 2, 2026
Copy link
Copy Markdown
Contributor

Written with OpenAI Codex. @Jun516 reviewed the complete change and takes responsibility for it.

What this changes and why

The stage-one driver would log a failed cell and deliberately continue. Its closing status message then caused it to return 0, so a caller treating that exit status as an indication of success could advance after a partial run. The driver still attempts all cells and now returns nonzero if any cell returns nonzero.

Verified

  • A local runner stub reproduced exit 0 on the baseline when the native cell failed. With the patch all three cells are attempted, a failed cell yields exit 1 and an all-successful pass yields exit 0. python3 tools/benchmarks/harbor-3arm/test_stage1.py -v passed both scenarios on Linux. bash -n tools/benchmarks/harbor-3arm/stage1.sh and git diff --check passed.
  • The baseline driver matches v1.0.0-rc.105.

Assumed and not run

The regression uses a local stand-in for the runner. No live Harbor campaign or external model calls were made.

Rust build, Rust formatting and lint, crate tests and ES-YAML were not run. The patch only changes tooling and its tests outside the engine.

The stage-one driver intentionally continues after a failed cell, but its final echo replaced the failure exit status. A local runner fixture reproduced success despite a failed cell. The driver now visits all cells and exits nonzero if any failed. Both success and failure scenarios passed on Linux. Written with OpenAI Codex.
@cla-bot cla-bot Bot added the cla-signed label Dec 2, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0