[PR #5369] [MERGED] Main's Python tests pass again: perf_bench fixture, trusted reviewers list #6242

Closed
opened 2026-11-03 06:16:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5369
Author: @ludovic111
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/main-build-perf-bench-test


📝 Commits (1)

  • 72fabfe tests: main's Python suite passes again (perf_bench fixture, trusted reviewers)

📊 Changes

2 files changed (+5 additions, -2 deletions)

View changed files

📝 tests/test_perf_bench.py (+4 -1)
📝 tests/test_triage_command.py (+1 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

python3 -m unittest discover -s tests fails on plain main in two places, so every pr_ready run reports them:

  1. tests.test_perf_bench, test_table_distinguishes_missing_scene_load_from_zero (from #4407). The same PR's later commit 320778a3d makes perf_bench.table refuse reports whose comparison conditions are missing or differ, which is the report contract. This test's fixtures only carried render_distance, so table raised cannot compare RD 8: scenario missing. The code does what #4407 intended, so the test was the stale part: its three reports now carry the same full conditions as the contract tests above it. The assertion is unchanged (–, 0.0, 2.0).
  2. tests.test_triage_command, test_the_repos_list_is_the_nightlys. .github/trusted-reviewers.txt names Qwerner88880 since f35210d2d. 10c71a65d updated test_nightly_set's copy of the list but missed this one.

Only tests change. Check: python3 -m unittest tests.test_triage_command tests.test_perf_bench tests.test_nightly_set passes. Before the fix, the full discover run (500 tests) had exactly these two failures.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5369 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/main-build-perf-bench-test` --- ### 📝 Commits (1) - [`72fabfe`](https://github.com/horizon-rust/horizon/commit/72fabfede5beacf705c5316c5590e691326d287e) tests: main's Python suite passes again (perf_bench fixture, trusted reviewers) ### 📊 Changes **2 files changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_perf_bench.py` (+4 -1) 📝 `tests/test_triage_command.py` (+1 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. `python3 -m unittest discover -s tests` fails on plain main in two places, so every pr_ready run reports them: 1. `tests.test_perf_bench`, `test_table_distinguishes_missing_scene_load_from_zero` (from #4407). The same PR's later commit 320778a3d makes `perf_bench.table` refuse reports whose comparison conditions are missing or differ, which is the report contract. This test's fixtures only carried `render_distance`, so `table` raised `cannot compare RD 8: scenario missing`. The code does what #4407 intended, so the test was the stale part: its three reports now carry the same full conditions as the contract tests above it. The assertion is unchanged (`–`, `0.0`, `2.0`). 2. `tests.test_triage_command`, `test_the_repos_list_is_the_nightlys`. `.github/trusted-reviewers.txt` names Qwerner88880 since f35210d2d. 10c71a65d updated `test_nightly_set`'s copy of the list but missed this one. Only tests change. Check: `python3 -m unittest tests.test_triage_command tests.test_perf_bench tests.test_nightly_set` passes. Before the fix, the full discover run (500 tests) had exactly these two failures. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#6242
No description provided.