[PR #2910] [MERGED] fix: isolate Linux inventory and repair DEX schema regex #5486

Closed
opened 2026-10-31 01:07:02 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/2910
Author: @morluto
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @morluto

Base: main ← Head: fix/delta-baseline-ci-roots


📝 Commits (2)

  • 8cac51e fix(ci): isolate Linux Hopper process fixture inventory
  • 1335bcd fix(android): make DEX descriptor pattern portable

📊 Changes

4 files changed (+29 additions, -7 deletions)

View changed files

📝 scripts/lib/clean-linux-hopper-runtime.d.mts (+1 -0)
📝 scripts/lib/clean-linux-hopper-runtime.mjs (+4 -3)
📝 src/domain/android/androidAnalysis.ts (+1 -1)
📝 tests/process-global/cleanLinuxHopperRuntime.test.ts (+23 -3)

📄 Description

The Linux clean-host fixture enumerated ambient /proc before its own process fixture existed, so an unrelated protected process could fail the setup lane. The fixture now points inventory at a temporary proc root; production still uses /proc and fails closed on unknown caller-owned processes.

The Android descriptor schema also used literal parentheses in a negated character class. JavaScript accepts that pattern in ordinary and u modes but rejects it when clients compile advertised JSON Schema patterns in v mode. Hex escapes preserve the descriptor contract and compile across those modes.

The Devin JSON format fix is already present on current main at df3d96d and is not duplicated here.

Validation: source review, targeted pinned formatter, and git diff --check. Tests, builds, typechecks, lint, provider runs, and CI reruns were not run.

Failure evidence: PR #2783 schema-pattern shard and the downloaded shard/Portable logs record the v-mode descriptor-pattern rejection and unrelated /proc/<pid>/exe EACCES. The producing code was inspected on pinned main 72b9ab4a; the fix branch starts from fetched main 93e29d242. These logs establish the executed PR failure, while main attribution is based on source comparison rather than a local test run.

The existing advertised-pattern contract coverage remains in place; the process fixture still checks live executable identity and verifies that observation does not terminate it. No CI gate or production permission check is weakened.


🔄 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/morluto/rea/pull/2910 **Author:** [@morluto](https://github.com/morluto) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `fix/delta-baseline-ci-roots` --- ### 📝 Commits (2) - [`8cac51e`](https://github.com/morluto/rea/commit/8cac51e12184d56a9ba80a4427b3e6082ddac1ec) fix(ci): isolate Linux Hopper process fixture inventory - [`1335bcd`](https://github.com/morluto/rea/commit/1335bcddc569a1cfb34b6efedcb6f2e3aaaa3357) fix(android): make DEX descriptor pattern portable ### 📊 Changes **4 files changed** (+29 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `scripts/lib/clean-linux-hopper-runtime.d.mts` (+1 -0) 📝 `scripts/lib/clean-linux-hopper-runtime.mjs` (+4 -3) 📝 `src/domain/android/androidAnalysis.ts` (+1 -1) 📝 `tests/process-global/cleanLinuxHopperRuntime.test.ts` (+23 -3) </details> ### 📄 Description The Linux clean-host fixture enumerated ambient `/proc` before its own process fixture existed, so an unrelated protected process could fail the setup lane. The fixture now points inventory at a temporary proc root; production still uses `/proc` and fails closed on unknown caller-owned processes. The Android descriptor schema also used literal parentheses in a negated character class. JavaScript accepts that pattern in ordinary and `u` modes but rejects it when clients compile advertised JSON Schema patterns in `v` mode. Hex escapes preserve the descriptor contract and compile across those modes. The Devin JSON format fix is already present on current main at `df3d96d` and is not duplicated here. Validation: source review, targeted pinned formatter, and `git diff --check`. Tests, builds, typechecks, lint, provider runs, and CI reruns were not run. Failure evidence: PR #2783 [schema-pattern shard](https://github.com/morluto/rea/actions/runs/38420341771/job/115383135868) and the downloaded shard/Portable logs record the `v`-mode descriptor-pattern rejection and unrelated `/proc/<pid>/exe` EACCES. The producing code was inspected on pinned main `72b9ab4a`; the fix branch starts from fetched main `93e29d242`. These logs establish the executed PR failure, while main attribution is based on source comparison rather than a local test run. The existing advertised-pattern contract coverage remains in place; the process fixture still checks live executable identity and verifies that observation does not terminate it. No CI gate or production permission check is weakened. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 01:07:02 +00: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
morluto/rea#5486
No description provided.