Draft
feat: add full test suite (C + JS) and test-suite.yml CI workflow#2493
Conversation
Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
Co-authored-by: professoroakz <6593422+professoroakz@users.noreply.github.com>
Copilot
AI
changed the title
feat: add full test suite (C + JS) and test-suite.yml workflow
feat: add full test suite (C + JS) and test-suite.yml CI workflow
Aug 4, 2026
Copilot created this pull request from a session on behalf of
o4k741x
August 4, 2026 05:30
View session
o4k741x
force-pushed
the
copilot/run-xaoex-workflows-again
branch
from
August 9, 2026 08:23
4c2c6d4 to
621ff92
Compare
o4k741x
force-pushed
the
prod
branch
2 times, most recently
from
August 9, 2026 09:08
125094f to
718be2e
Compare
o4k741x
force-pushed
the
copilot/run-xaoex-workflows-again
branch
from
August 9, 2026 09:08
621ff92 to
3c9ed98
Compare
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 real tests existed —
npm testwas a no-op echo and CMake had only a smoke-run of the binary.Test suite (
tests/)test_simsim.c— build sanity + exit-code contract (4 assertions)test_maxopts.c— 9 unit tests formaxopts_everything_this_era(): nominal paths, NULL, zero/negative size, INT_MAX boundarytest_index.js— 15 tests forindex.js: module shape,init()/info()return values, link format, idempotencyBuild wiring
CMakeLists.txt: addstest_simsimandtest_maxoptsexecutables asUnitTest_*CTest targetspackage.json:testscript now runsnode tests/test_index.jsWorkflow (
.github/workflows/test-suite.yml)prod/main/production+workflow_dispatchpermissions: contents: read