Strengthen build infrastructure, public CI workflows and automated regression harness #9
Labels
No labels
accessibility
area: compatibility
area: docs
area: hygiene
area: infra
area: memory
area: ray-tracing
area: rendering
area: shaders
area: submission
area: textures
bug
ci
dependencies
difficulty: advanced systems
difficulty: intermediate
documentation
duplicate
enhancement
experimental
good first issue
help wanted
invalid
known issue
performance
priority: P0
priority: P1
priority: P2
proposal
question
rendering
research
testing
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/VictoryX-dev--VictoryX#9
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@VictoryX-dev on GitHub · 2026-12-03 02:57 UTC · original
Problem
As VictoryX opens to outside contributors, build, packaging and test automation need to work smoothly on standard developer machines and GitHub Actions without relying on machine-local paths or implicit tooling.
Known Evidence
runtime/.github/workflows/ci.ymlcoversclippy,test-default,test-diagnosticsandcheckonwindows-latestforruntime/, whilelauncher/is a separate Cargo workspace that also needs CI coverage.scripts/run-regression.ps1runs synthetic hardware regression fixtures and no-title runtime commands, but requires PowerShell 7 (pwsh) and currently writes manifests under%LOCALAPPDATA%with a hardcoded internal subfolder name.scripts/dev-build.ps1andscripts/package.ps1work locally on Windows, andruntime/xtaskenforces the static asset policy insideruntime/(not yet across top-level folders such aslauncher/orassets/).runtime/andlauncher/, clear flaky-test tracking and clean synthetic regression reports.Approaches That Did Not Work
rust-lld.exeas the Windows linker: Saved only ~0.12 s on link-dominated rebuilds (1.28–1.31 svs1.41–1.43 swithlink.exe), not worth maintaining a second linker configuration.CARGO_TARGET_DIRacross multiple worktrees: Incremental state is keyed by source path so only registry crates (~12 s of a 37–40 s build) are shared, while Cargo locks block parallel worktree builds.lto = "off"in thefastprofile: Dropped BCPack AVX2 throughput by ~3× (104–121 MB/svs354–357 MB/swithlto = falsethin-local LTO).Relevant Source Modules
runtime/.github/workflows/ci.ymlruntime/Cargo.tomllauncher/Cargo.tomlruntime/xtask/src/policy.rsruntime/xtask/src/switches.rsscripts/dev-build.ps1scripts/package.ps1scripts/run-regression.ps1docs/BUILDING.mddocs/DEVELOPMENT.mdExpected Contribution
launcher/tests/clippy alongsideruntime/and keepxtask policyrunning on every pull request.mainwhile keeping stable releases under manual maintainer approval, building release binaries with--remap-path-prefixso personal filesystem paths are never embedded, and bundlingTHIRD-PARTY-NOTICESplus third-party SDK DLLs only where explicitly permitted by their licence.xtaskasset-policy coverage or add an equivalent repo-root check (including safe allowlisting for small plain-text SVG files underassets/).scripts/run-regression.ps1output location configurable via parameter and ensure WARP-compatible subsets can run cleanly in headless CI environments.TODO(infra)placeholders indocs/BUILDING.mdanddocs/DEVELOPMENT.md.Acceptance Criteria
runtime/andlauncher/cleanly onwindows-latest.scripts/run-regression.ps1works cleanly on a fresh clone with zero hardcoded machine paths.