Skip to content

bugfixes and testing#14

Merged
SemPlaatsman merged 19 commits into
mainfrom
dev
Mar 15, 2026
Merged

bugfixes and testing#14
SemPlaatsman merged 19 commits into
mainfrom
dev

Conversation

@SemPlaatsman

Copy link
Copy Markdown
Owner

No description provided.

SemPlaatsman and others added 19 commits March 14, 2026 23:31
…tatus_summary file truncation

- WRITE_TOOLS const moved above getProject to make the dependency order explicit and safe rather than relying on call-time initialisation
- Validate all disallowedTools entries against WRITE_TOOLS at startup; unknown tool names now log a warning immediately rather than silently doing nothing at runtime
- Normalise \r\n to \n in readFile; fixes str_replace/insert_before/insert_after anchor matching on Overleaf projects with Windows line endings
- Groups 5–8 cover write tools (actual writes + push verification), error paths, BibTeX operations, and permission guards
- restore.js is a standalone script to reset fixture files on CI failure, independently of the test runner
- unit-tests.yml runs on every PR to dev and main
- integration-tests.yml runs on PRs to main only; writes projects.json from secrets and calls restore.js on failure
- Adds test:unit, test:integration, and test (bare) scripts to package.json
@SemPlaatsman SemPlaatsman merged commit 5cb4b50 into main Mar 15, 2026
2 checks passed
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.

1 participant