[PR #5627] [MERGED] online_mode harness: a lookup during a check is a mismatch, not a crash (finished from #5508) #6397

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5627
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: sweepF/5508


📝 Commits (3)

  • 98f26ea online_mode harness: compare a service call's last field, so a lookup is a mismatch, not a crash
  • fd6d453 Merge remote-tracking branch 'origin/main' into sweepF/5508
  • 8f39b7f online_mode harness: the services' key fetch is no login step

📊 Changes

1 file changed (+5 additions, -4 deletions)

View changed files

📝 tools/test_online_mode_parity.py (+5 -4)

📄 Description

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

Finishes #5508 by @rdbtCVS (their commit kept as is; the fork doesn't allow maintainer edits). Fixes #5506.

  • #5508: the two checks that read e[3] compare e[-1], so a lookup or unknown entry is a mismatch with its name or path, not an IndexError.
  • Added here: #5508's own parity run (41243825430) showed the next cause. Both the vanilla and the Horizon server fetch the services' getPublicKeys (/publickeys) in the background, at any moment of a scenario, so ('unknown', '/publickeys') landed in four checks on both sides. It now stays out of the log, next to the bare GET / main already ignores. That fetch is no login step.

The online_mode harness has been failing every PR's parity with this. Tooling only (skip-release); CI's parity runs the harness on this head.

🤖 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/5627 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `sweepF/5508` --- ### 📝 Commits (3) - [`98f26ea`](https://github.com/horizon-rust/horizon/commit/98f26eae9b896bdc3a15dd76f9e5cf6a4c9f29ab) online_mode harness: compare a service call's last field, so a lookup is a mismatch, not a crash - [`fd6d453`](https://github.com/horizon-rust/horizon/commit/fd6d4536ad0cfbb241825046d212e05733f15f8d) Merge remote-tracking branch 'origin/main' into sweepF/5508 - [`8f39b7f`](https://github.com/horizon-rust/horizon/commit/8f39b7f41db9eeaa6372e457176ff2c05151c6f9) online_mode harness: the services' key fetch is no login step ### 📊 Changes **1 file changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tools/test_online_mode_parity.py` (+5 -4) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Finishes #5508 by @rdbtCVS (their commit kept as is; the fork doesn't allow maintainer edits). Fixes #5506. - #5508: the two checks that read `e[3]` compare `e[-1]`, so a `lookup` or `unknown` entry is a mismatch with its name or path, not an `IndexError`. - Added here: #5508's own parity run (41243825430) showed the next cause. Both the vanilla and the Horizon server fetch the services' `getPublicKeys` (`/publickeys`) in the background, at any moment of a scenario, so `('unknown', '/publickeys')` landed in four checks on both sides. It now stays out of the log, next to the bare `GET /` main already ignores. That fetch is no login step. The `online_mode` harness has been failing every PR's parity with this. Tooling only (`skip-release`); CI's parity runs the harness on this head. 🤖 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:19:55 +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#6397
No description provided.