[PR #481] [MERGED] Harden Impeccable context checker spawn failures #4635

Closed
opened 2026-10-22 04:09:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/481
Author: @cha1latte
Created: 5/6/2026
Status: ✅ Merged
Merged: 5/7/2026
Merged by: @cha1latte

Base: main ← Head: fix/check-haptic-output-type


📝 Commits (2)

  • a786521 Fix haptic output type and checker error reporting
  • b8b0169 Merge upstream main into haptic checker fix

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 scripts/check-impeccable-context.mjs (+3 -1)

📄 Description

What?

Hardens scripts/check-impeccable-context.mjs so failed Impeccable context-loader spawns with missing stderr report a useful error message instead of crashing while formatting the failure.

Why?

In sandbox-style spawn failures, spawnSync can return an error without a usable stderr string. The checker should report the underlying spawn error cleanly so validation output points at the real problem.

How?

Defensively checks that result.stderr is a string before trimming it, and falls back to result.error.message when stderr is unavailable.

Testing?

Machine verification:

  • GitHub pnpm-validate passed.
  • GitHub container-build-test passed.
  • CodeRabbit status passed.

Screenshots

N/A, script-only change.

Anything Else?

The earlier haptic enum change is no longer part of this PR's live diff, so this PR is now intentionally limited to the Impeccable context checker hardening.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/481 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/6/2026 **Status:** ✅ Merged **Merged:** 5/7/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `fix/check-haptic-output-type` --- ### 📝 Commits (2) - [`a786521`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a786521311bdff0b23118a30e1c253e365623c2b) Fix haptic output type and checker error reporting - [`b8b0169`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b8b0169bcb3461f561964f54cf0d652f5f6a344c) Merge upstream main into haptic checker fix ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/check-impeccable-context.mjs` (+3 -1) </details> ### 📄 Description ## What? Hardens `scripts/check-impeccable-context.mjs` so failed Impeccable context-loader spawns with missing stderr report a useful error message instead of crashing while formatting the failure. ## Why? In sandbox-style spawn failures, `spawnSync` can return an `error` without a usable `stderr` string. The checker should report the underlying spawn error cleanly so validation output points at the real problem. ## How? Defensively checks that `result.stderr` is a string before trimming it, and falls back to `result.error.message` when stderr is unavailable. ## Testing? Machine verification: - GitHub `pnpm-validate` passed. - GitHub `container-build-test` passed. - CodeRabbit status passed. ## Screenshots N/A, script-only change. ## Anything Else? The earlier haptic enum change is no longer part of this PR's live diff, so this PR is now intentionally limited to the Impeccable context checker hardening. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:09:21 +07: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
Pasta-Devs/Marinara-Engine#4635
No description provided.