Skip to content

fix: create stable Node runtime blocker for local ESLint - #12

Merged
loong10k merged 2 commits into
mainfrom
feat/rust-hook-prompt-guidance
Sep 29, 2026
Merged

loong10k merged 2 commits into
mainfrom
feat/rust-hook-prompt-guidance

Conversation

@loong10k

Copy link
Copy Markdown
Contributor

When a project-local ESLint package and flat config are visible but the current PATH has no usable Node executable, the TypeScript lint candidate previously reported only eslint_execution_context_missing. It now reports eslint_node_runtime_unresolved and, in an initialized workspace, updates one stable environment task whose next step asks for a controlled Node path and native recheck. A repeated scan does not create another blocker or suggest reinstalling ESLint or editing unrelated source.

This advances OpenSpec S14.10 without claiming that syntax confirmation tasks, multi-module dispatch or full delivery gates are complete.

Validation: the missing-Node assertion failed before the change; afterward 18 targeted tests passed, 4 real-ESLint tests remained ignored. Feature Clippy with -D warnings, fmt, layering, OpenSpec strict and diff checks passed. The acceptance record and task ledger were updated.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-29T05:09:55.398634Z 1b4c6c2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@loong10k
loong10k merged commit 02a4e6f into main Sep 29, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b4c6c2542

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +58 to +61
observe_with_preparation_reason(
&args,
deadline,
Some("eslint_node_runtime_unresolved"),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Deduplicate the Node blocker at module scope

When two TypeScript files in the same project-local ESLint module are scanned without Node on PATH, this new path creates two environment tasks rather than updating one: observe_with_preparation_reason passes the per-file args, and eslint_preparation::prepare includes that source-relative path in the blocker fingerprint. The test only repeats one file, so it misses the task pileup across files; key this runtime blocker to the discovered candidate root/checking obligation instead.

Useful? React with 👍 / 👎.

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