Skip to content
This repository was archived by the owner on Oct 26, 2026. It is now read-only.

build:map writes the whole log to EUDPLIB_LOG_FILE - #1

Closed
jeany55 wants to merge 1 commit into
mainfrom
log-file
Closed

jeany55 wants to merge 1 commit into
mainfrom
log-file

Conversation

@jeany55

@jeany55 jeany55 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

scripts/build-map.mts writes the whole build log to the file named by EUDPLIB_LOG_FILE when that is set.

A long log piped to stdout was cut short: process.exit returns before a pipe drains, and spawnSync's default buffer is 1 MB. TrigScript's fixture builds print the trigger map and the variable map into the log (megabytes for a big script), so they read it from the file instead.

This affects the Node script only, not the plugin. It can be merged and released at any time.

🤖 Generated with Claude Code

The script exits as soon as the map is written, and what is still on its
way down a pipe is lost; a log of megabytes (TrigScript's map of triggers)
came out cut short. EUDPLIB_LOG_FILE=<path> writes it to a file instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jeany55

jeany55 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Moved to #2: this work now lives on trigscript-4, which collects all of TrigScript 4 and merges into main when it's complete.

@jeany55 jeany55 closed this Oct 16, 2026
@jeany55
jeany55 deleted the log-file branch October 16, 2026 16:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant