altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

Dispatcher tests fail in CI due to shared module state

Open anandgupta42 opened this issue 8 months ago • 0 comments

11 tests in schema-finops-dbt.test.ts fail in CI because dispatcher.test.ts calls Dispatcher.reset() which clears the shared nativeHandlers Map. Side-effect imports only register handlers once at module load, so they're permanently lost after reset.

See: https://github.com/AltimateAI/altimate-code/actions/runs/23235594531/job/67540131352

anandgupta42 avatar Mar 18 '26 09:03 anandgupta42