Repository navigation
Ci/tests and postman - #1
Merged
Merged
Conversation
- credits: allow for floating-point noise before rounding up, so a cost of exactly 7 credits is no longer charged as 8 (0.07 / 0.01 = 7.000000000000001) - editFile: pass the replacement as a function so "$$", "$&" and "$1" in the new text are written literally - sandbox: reject only ".." or paths starting with "../", so a file named "..notes.md" inside the project is allowed - grep: pass the pattern with -e so a pattern starting with "-" is not read as an option
The CLI imports @codeflow/shared but did not list it, so a fresh clone could not resolve it and the CLI tests failed to load. It only worked on machines that still had an old node_modules link.
- 87 bun tests (unit and integration) covering billing, the credit gate, the chat request gate, the file tools, model registry and CLI helpers - Postman collections run by Newman against the real server with Clerk, Polar, the database and the model stubbed: 21 requests plus a 22-row data-driven run of the chat gate
Runs on pushes to main and on pull requests (windows-latest, Bun 1.3.14): install with the frozen lockfile, bun test with coverage and a JUnit report, the Newman API tests, and upload of the result files. Results are reported to TestCollab only when a TESTCOLLAB_TOKEN repository secret exists.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.