• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Teamwork / kommentaar / 27541864522

15 Jun 2026 11:03AM UTC coverage: 52.745% (-1.0%) from 53.695%
27541864522

Pull #114

github

shane-tw
Add -out flag for atomic file output to prevent partial-read windows

When callers use shell redirection (kommentaar > swagger.yaml), the shell
truncates the file before kommentaar starts writing, leaving a window where
the file is empty or partially written. Tools watching the file (editors,
git diff) see a large spurious diff during generation.

The new -out <file> flag buffers output in memory, writes it to a temp file
in the same directory, then renames it atomically so the target file is only
replaced once the full content is ready. run.sh is updated to use -out
instead of shell redirection.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #114: Add -out flag for atomic file output

6 of 27 new or added lines in 1 file covered. (22.22%)

373 existing lines in 3 files now uncovered.

1172 of 2222 relevant lines covered (52.75%)

42.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.36
/docparse/docparse.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc