[GH-ISSUE #7112] Parity regression: lan_auth #3141

Open
opened 2026-11-03 04:06:10 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @github-actions[bot] on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7112

lan_auth passed in the previous nightly audit and fails now.

Nightly audit of b9721a29528b (https://github.com/horizon-rust/horizon/actions/runs/41420192897).

Reproduce: python3 tools/parity.py lan_auth

End of the log
Traceback (most recent call last):
  File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1745, in <module>
    sys.exit(main())
             ~~~~^^
  File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1570, in main
    return trace_main(sys.argv[2], sys.argv[3], sys.argv[4:])
  File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1304, in trace_main
    runpy.run_path(script, run_name="__main__")
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen runpy>", line 292, in run_path
  File "<frozen runpy>", line 97, in _run_module_code
  File "<frozen runpy>", line 87, in _run_code
  File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/test_lan_auth_parity.py", line 42, in <module>
    main()
    ~~~~^^
  File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/test_lan_auth_parity.py", line 33, in main
    raise AssertionError(f'vanilla: {expected!r}; Horizon: {actual!r}')
AssertionError: vanilla: [('LAN', 'true', 'false'), ('OTHER', 'false', 'true')]; Horizon: []
Originally created by @github-actions[bot] on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7112 `lan_auth` passed in the previous nightly audit and fails now. Nightly audit of `b9721a29528b` (https://github.com/horizon-rust/horizon/actions/runs/41420192897). Reproduce: `python3 tools/parity.py lan_auth` <details><summary>End of the log</summary> ``` Traceback (most recent call last): File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1745, in <module> sys.exit(main()) ~~~~^^ File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1570, in main return trace_main(sys.argv[2], sys.argv[3], sys.argv[4:]) File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/parity.py", line 1304, in trace_main runpy.run_path(script, run_name="__main__") ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen runpy>", line 292, in run_path File "<frozen runpy>", line 97, in _run_module_code File "<frozen runpy>", line 87, in _run_code File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/test_lan_auth_parity.py", line 42, in <module> main() ~~~~^^ File "/Users/ludovicmarie/.actions-runners/horizon/_work/horizon/horizon/tools/test_lan_auth_parity.py", line 33, in main raise AssertionError(f'vanilla: {expected!r}; Horizon: {actual!r}') AssertionError: vanilla: [('LAN', 'true', 'false'), ('OTHER', 'false', 'true')]; Horizon: [] ``` </details>
Author
Owner

@kira-horizon[bot] commented on GitHub (Nov 2, 2026):

Claimed by Akirabane on Discord (GitHub: Akirabane), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #7112).

<!-- gh-comment-id:6579809010 --> @kira-horizon[bot] commented on GitHub (Nov 2, 2026): Claimed by `Akirabane` on Discord (GitHub: `Akirabane`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #7112). <!-- kira:work -->
Author
Owner

@Akirabane commented on GitHub (Nov 2, 2026):

🤖 Agent: this is already fixed on main by #7119 (merged 2026-11-02 13:09Z, da91621e3), so there is nothing left to code here.

Cause: the client library split (42a5981e9) moved net.rs into horizon-client-lib, and tools/test_lan_auth_parity.py still ran cargo test -p horizon-client --lib net::tests::lan_login_continues_after_authentication_failure, which no longer matched any test. The harness then compared vanilla's [('LAN', 'true', 'false'), ('OTHER', 'false', 'true')] with an empty Horizon list, hence Horizon: []. It was a harness path, not a game regression. #7119 changes that one line to -p horizon-client-lib; the test itself is still at crates/horizon-client/src/net.rs:1663.

Evidence: the parity job of #7119 ran it and passed (run 41441879025): PASS lan_auth. The issue was opened at 11:19Z, before that merge, so it can be closed; the next nightly audit will confirm.

Comment by Akirabane's AI agent (Claude Code, MAX), not by Akirabane personally.

<!-- gh-comment-id:6579844388 --> @Akirabane commented on GitHub (Nov 2, 2026): 🤖 Agent: this is already fixed on `main` by #7119 (merged 2026-11-02 13:09Z, `da91621e3`), so there is nothing left to code here. Cause: the client library split (`42a5981e9`) moved `net.rs` into `horizon-client-lib`, and `tools/test_lan_auth_parity.py` still ran `cargo test -p horizon-client --lib net::tests::lan_login_continues_after_authentication_failure`, which no longer matched any test. The harness then compared vanilla's `[('LAN', 'true', 'false'), ('OTHER', 'false', 'true')]` with an empty Horizon list, hence `Horizon: []`. It was a harness path, not a game regression. #7119 changes that one line to `-p horizon-client-lib`; the test itself is still at `crates/horizon-client/src/net.rs:1663`. Evidence: the `parity` job of #7119 ran it and passed (run 41441879025): `PASS lan_auth`. The issue was opened at 11:19Z, before that merge, so it can be closed; the next nightly audit will confirm. > Comment by Akirabane's AI agent (Claude Code, MAX), not by Akirabane personally.
Author
Owner

@kira-horizon[bot] commented on GitHub (Nov 2, 2026):

Unclaimed by Akirabane on Discord: this issue is free to take.

<!-- gh-comment-id:6580205313 --> @kira-horizon[bot] commented on GitHub (Nov 2, 2026): Unclaimed by `Akirabane` on Discord: this issue is free to take. <!-- kira:work -->
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#3141
No description provided.