-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
test: add comprehensive backend test coverage for AI merge and project modules #1948
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
StillKnotKnown
wants to merge
22
commits into
develop
Choose a base branch
from
feat/backend-test-coverage
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2a79ba1
Merge pull request #1880 from AndyMik90/develop
AndyMik90 a1a79ce
test: add comprehensive AI Context module tests (35 tests)
StillKnotKnown fd7ccfe
test: add comprehensive AI MCP module tests (75 tests)
StillKnotKnown cf88767
test: add comprehensive backend test coverage for AI merge and projec…
StillKnotKnown 3cf7573
test: fix linting issues in new test files
StillKnotKnown 3982906
fix: resolve all typecheck and test errors
StillKnotKnown afb8ece
test: increase timing threshold to 100ms for CI reliability
StillKnotKnown e084d44
test: use path.join for Windows compatibility in file-evolution test
StillKnotKnown 99163db
test: fix Windows path compatibility across multiple test files
StillKnotKnown 468cbb3
test: use platform-agnostic path matching for Windows CI
StillKnotKnown f43c2cd
test: make roadmap directory test platform-agnostic
StillKnotKnown cec137d
Merge remote-tracking branch 'upstream/main' into feat/backend-test-c…
StillKnotKnown acc40d4
ci: trigger status recalculation
StillKnotKnown 675fa8f
Merge remote-tracking branch 'upstream/develop' into feat/backend-tes…
StillKnotKnown 970ac5f
Merge branch 'develop' into feat/backend-test-coverage
StillKnotKnown 8bb3eb8
test: improve backend coverage to 90%+ for merge and runners modules
StillKnotKnown 6e37607
Merge branch 'develop' into feat/backend-test-coverage
StillKnotKnown 293742b
test: improve backend coverage with additional module tests
StillKnotKnown 640a4fe
test: improve coverage for merge and orchestration modules
StillKnotKnown 0c0a9be
test: add orchestrator test coverage for build and spec pipelines
StillKnotKnown aca9f91
Merge branch 'develop' into feat/backend-test-coverage
StillKnotKnown b363e66
Merge branch 'develop' into feat/backend-test-coverage
AndyMik90 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: The performance test for
observe()asserts a 100ms time limit, but the production code's requirement is under 2ms. The test is too permissive to catch regressions.Severity: HIGH
Suggested Fix
Update the test assertion in
memory-observer.test.tsto match the production requirement. Changeexpect(elapsed).toBeLessThan(100)toexpect(elapsed).toBeLessThan(2). If this causes test flakiness in CI, investigate and stabilize the test environment or the code under test rather than using a lenient threshold.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.