fix(main): suppress legitimate io.stderr in load_runtime #79

Closed
opened 2026-05-26 06:27:56 +02:00 by michael · 0 comments
Owner

Problem

main.lua uses io.stderr:write directly in load_runtime() because no DAW
libs are available yet at that point. This triggers the no-direct-io-stderr
rule.

These two lines require inline suppression comments.

Acceptance criteria

  • load_runtime lines in main.lua suppressed via fragjan inline suppression
  • fragjan code . runs clean (0 warnings for main.lua)

Notes

Suppression mechanism is functional (DAW/fragjan#12).
This is the only legitimate use of direct io.stderr in the codebase.

## Problem `main.lua` uses `io.stderr:write` directly in `load_runtime()` because no DAW libs are available yet at that point. This triggers the `no-direct-io-stderr` rule. These two lines require inline suppression comments. ## Acceptance criteria - [ ] load_runtime lines in main.lua suppressed via fragjan inline suppression - [ ] fragjan code . runs clean (0 warnings for main.lua) ## Notes Suppression mechanism is functional (DAW/fragjan#12). This is the only legitimate use of direct io.stderr in the codebase.
michael added this to the Basic Version milestone 2026-05-30 16:04:44 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DAW/fragjan#79
No description provided.