You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build system has accumulated technical debt: libevent is vendored but marked "Not currently used", dispatch scripts have grown organically without consistency, RealSimVersion.h.in uses the old branding, and the generate_version.ps1 script is disconnected from the dispatch pipeline.
Why is this needed?
CommonLib/libevent/ is a large vendored library (50+ headers) noted as "Not currently used" in dependencies.yaml — it should be removed from the repo or gated behind a proper optional flag
dispatch.bat calls scripts numbered 1–7 but the scripts are numbered 1–7 with gaps and naming inconsistencies (e.g., 5a_carmaker_components.ps1 vs 4_virtual_environment.bat)
scripts/generate_version.ps1 exists but is not called by dispatch.bat — version generation is a manual step
Task Summary
The build system has accumulated technical debt:
libeventis vendored but marked "Not currently used", dispatch scripts have grown organically without consistency,RealSimVersion.h.inuses the old branding, and thegenerate_version.ps1script is disconnected from the dispatch pipeline.Why is this needed?
CommonLib/libevent/is a large vendored library (50+ headers) noted as "Not currently used" independencies.yaml— it should be removed from the repo or gated behind a proper optional flagdispatch.batcalls scripts numbered 1–7 but the scripts are numbered 1–7 with gaps and naming inconsistencies (e.g.,5a_carmaker_components.ps1vs4_virtual_environment.bat)scripts/generate_version.ps1exists but is not called bydispatch.bat— version generation is a manual stepRealSimVersion.h.inusesREALSIM_VERSION_*prefix (tracked in issue [MAINTENANCE] Unify RealSim→FIXS branding in source code, logs, and comments #128 for renaming, but the version generation script also needs updating)build_libsumo.ps1andbuild_sumo_executables.ps1are inscripts/root but not integrated intodispatch.batdispatch.batbuild log goes toscripts/dispatch/build.logbut there's no CI artifact collectionScope of Work
1. Remove libevent from CommonLib
CommonLib/libevent/directory (50+ vendored headers, never used)dependencies.yamlscripts/dispatch/1_external_libraries.bat2. Fix dispatch script numbering and naming
dispatch.batcalls all scripts in correct orderscripts/generate_version.ps1into the dispatch pipeline (call before build)doc/BUILD.md3. Integrate libsumo build scripts
scripts/build_libsumo.ps1andscripts/build_sumo_executables.ps1intoscripts/dispatch/or document them as standalone utilities4. Add auto-test
tests/Python/test_build_system.pythat validates:dependencies.yamlis valid YAML and contains required keysRealSimVersion.h(generated) exists after build with expected macro names5. Update .gitignore
build/output directory is properly gitignored (except prebuilt binaries intentionally committed)*.logfor build log files inscripts/dispatch/Files Involved
CommonLib/libevent/(delete)dependencies.yamlscripts/dispatch/*.bat,*.ps1scripts/dispatch/dispatch.batscripts/generate_version.ps1scripts/build_libsumo.ps1,scripts/build_sumo_executables.ps1doc/BUILD.md.gitignoretests/Python/test_build_system.py(new)Acceptance Criteria
CommonLib/libevent/removed from repodispatch.batgenerate_version.ps1integrated into build pipelinetests/Python/test_build_system.pypassesdoc/BUILD.mdupdated to reflect changesBranch and PR Target
devbranch (notmain)mainis merged intodevbefore starting work