tests: dispatch-gate tests run on Linux; classify the remaining Yggdrasil failures #75
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/tests-platform-neutral"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports the Windows-shaped dispatch-gate tests in BridgeCliTests to run on Linux. Test-only; production code untouched.
ResolveExecutableuseswhichoff Windows (waswhere.exe).powershell -Commandcalls go throughRunShellAsync(sh -coff Windows).ghis an executable.shoff Windows (was.cmd)..cmdgate wrappers are stood in for by sh shims that exec the samegit-proxy.mjs/gh-proxy.mjs, withBIFROST_REAL_GITset so a shim cannot resolve itself. Windows path is unchanged.Coverage was not deleted and nothing is skipped.
Failing counts on Yggdrasil (full suite, 1365 tests)
No test that passed on main fails here.
Classification of the failures
UnflushedBytes, which System.Text.Json 10 needs, so everyWriteAsJsonAsyncis a 500 (ConceptTallyExport x8, ConceptVoteRateLimit, 9 OidcIssuer, SuspensionReasonExposure; 19 plus one Oidc theory case). They pass on the real .NET 8 runtime; a package bump to 8.0.11 did not help. Run withDOTNET_ROOT=/usr/share/dotnetand a runsettingsDotNetHostPathto that dotnet.$VOIDBOT_CULTLIB_ROOTor../CultLib, whose gitignoreddist/andnode_modulesmust be built. Unbuilt, ProviderAdvertisementTests (2) and 17 BridgeCliTests fail. They pass against a built CultLib.Bridge_owned_github_draft_pr_authorizes_push_under_dispatch_gate.tools/bifrost-bridge.mjsline 185 builds its repo-root containment check with a hardcoded\\separator, sogithub-draft-prthrows "Target path escapes repo root" on Linux. The same\\shape is inisWithinExcludedDirintools/git-gate/git-proxy.mjsandgh-proxy.mjs, so on Linux the gate never excludes its own wrapper dir.ConceptRankedExportTests.A_hostile_cursor_is_a_400_and_never_a_query(100,000 char cursor).new HttpRequestMessage(Get, "/public/...")makesSystem.Uritreat a leading/as an implicit file path on Unix and reject strings over 65519 chars. A relative Uri without the slash did not help.🤖 Generated with Claude Code