Skip to content

Conversation

@jtomaszewski
Copy link

Summary

  • Add TypeScript type-check step to test-core.yml workflow
  • Add TypeScript type-check step to test-mikroorm-driver.yml workflow

Problem

The recent CI failure was caused by TypeScript type errors in test files that weren't caught earlier because the workflow only ran tests, not type-checking. Tests were using string literals instead of the proper enum values, which passed locally but failed during the build step.

Solution

Added dedicated TypeScript type-check steps (npm run build) that run before tests to catch type errors early in the CI pipeline.

🤖 Generated with Claude Code

1. **test-core.yml**: Added a "Type check" step that runs `npm run build` before tests
2. **test-mikroorm-driver.yml**: Added a "Type check MikroORM driver" step that runs `npm run build` on the mikroorm-driver workspace before tests

This ensures TypeScript type errors are caught early in CI before tests run, preventing the issue where tests could pass while type errors exist in the code.
@jtomaszewski jtomaszewski force-pushed the vk/fccf-add-typescript-t branch from c7d7c60 to 55c56b3 Compare December 3, 2025 01:04
@jtomaszewski jtomaszewski merged commit aef49b1 into main Dec 3, 2025
4 checks passed
jtomaszewski added a commit that referenced this pull request Dec 3, 2025
…ntPoller (#4)

* test workflows run twice in a PR? (vibe-kanban 7dc44370)

see #8

* feat(core): add graceful shutdown handling to RetryableInboxOutboxEventPoller

Implement OnModuleDestroy lifecycle hook to properly clean up resources
during application shutdown:
- Unsubscribe from RxJS interval to stop polling
- Track in-flight event processing and wait for completion
- Add isShuttingDown flag to prevent new processing during shutdown

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants