Skip to content

loop#11

Open
timkodes wants to merge 1 commit into
mainfrom
infinite-hook-and-loop
Open

loop#11
timkodes wants to merge 1 commit into
mainfrom
infinite-hook-and-loop

Conversation

@timkodes
Copy link
Copy Markdown
Collaborator

No description provided.

@not-a-magic
Copy link
Copy Markdown

not-a-magic Bot commented May 25, 2026

Critical: This exports a non-terminating loop (while (true) {) from runtime code at lib/infinite-loop.ts:3. Any caller pins the event loop / process with no callable workaround — including callers in production. Fix: move the construct to a test fixture or harness, OR add an explicit exit condition (await, sleep, break, return, throw, yield, process.exit). If the loop is intentional external-detection bait, mark the file path under /fixtures/ or /tests/ so it stays out of runtime.

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.

2 participants