[PR #2240] [MERGED] fix(process): expose Darwin swiftc compile deadline via env #5106

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

📋 Pull Request Information

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

Base: main ← Head: fix/swiftc-compile-timeout-env


📝 Commits (8)

  • c743ec2 fix(process): expose Darwin swiftc compile deadline via env
  • 5ade0c1 fix(process): keep the Swift compile deadline with its runtime owner
  • 0006398 fix: reconcile captured main and owned findings for PR #2240
  • 977d6a4 fix(comparison): recheck historical calls-only changes (#2223)
  • 003a519 fix(ci): isolate Linux Hopper process fixture inventory
  • 9680646 fix(android): make DEX descriptor pattern portable
  • 1c5601b fix: repair the static-check failures on the default branch (#2895)
  • d4ea411 chore: merge main into PR #2240

📊 Changes

8 files changed (+113 additions, -5 deletions)

View changed files

📝 docs/installation.md (+3 -0)
📝 docs/mcp-contracts.md (+1 -0)
📝 src/config.test.ts (+34 -0)
📝 src/config/environment.ts (+4 -0)
📝 src/config/providerStartupTimeout.ts (+4 -0)
➕ src/process/DarwinProcessRunTokenReader.timeout.test.ts (+34 -0)
📝 src/process/DarwinProcessRunTokenReader.ts (+28 -5)
📝 src/process/ProcessOwnershipObservation.ts (+5 -0)

📄 Description

Summary

  • Add REA_SWIFTC_COMPILE_TIMEOUT_MS (1–2147483647 ms, default 60000) for Darwin ownership-helper swiftc compilation.
  • Wire it through config validation and the process-ownership host, matching REA_GHIDRA_STARTUP_TIMEOUT_MS / REA_HOPPER_STARTUP_TIMEOUT_MS.
  • Document the setting in installation and MCP contracts.

Fixes #2184

Test plan

  • npm run test:focused -- src/config.test.ts src/process/DarwinProcessRunTokenReader.timeout.test.ts
  • npm run check:fast
  • REA_SWIFTC_COMPILE_TIMEOUT_MS=loud rea analyze … → configuration_invalid naming the setting
  • REA_SWIFTC_COMPILE_TIMEOUT_MS=120000 accepted by parseConfig

🔄 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/2240 **Author:** [@BeqaKs](https://github.com/BeqaKs) **Created:** 10/12/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `fix/swiftc-compile-timeout-env` --- ### 📝 Commits (8) - [`c743ec2`](https://github.com/morluto/rea/commit/c743ec25036bc73d90856e5bfd12c2e1dd0e91b2) fix(process): expose Darwin swiftc compile deadline via env - [`5ade0c1`](https://github.com/morluto/rea/commit/5ade0c1b26b16c7233a9dc5dbc8bda757bb6a07e) fix(process): keep the Swift compile deadline with its runtime owner - [`0006398`](https://github.com/morluto/rea/commit/000639826ad533ec9beeb770ac1ebc06cc1321ac) fix: reconcile captured main and owned findings for PR #2240 - [`977d6a4`](https://github.com/morluto/rea/commit/977d6a463bbf258049ca32870b7f5525e8a61cd2) fix(comparison): recheck historical calls-only changes (#2223) - [`003a519`](https://github.com/morluto/rea/commit/003a5191bb4ae8365725d893091c43d31d6802e8) fix(ci): isolate Linux Hopper process fixture inventory - [`9680646`](https://github.com/morluto/rea/commit/96806469e9651c4b30b87275ee9ca54624d0e858) fix(android): make DEX descriptor pattern portable - [`1c5601b`](https://github.com/morluto/rea/commit/1c5601bc8ef74f7d502457647a4878b56c87409e) fix: repair the static-check failures on the default branch (#2895) - [`d4ea411`](https://github.com/morluto/rea/commit/d4ea41191d38c296fdd0727ef2c17838284a6e25) chore: merge main into PR #2240 ### 📊 Changes **8 files changed** (+113 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `docs/installation.md` (+3 -0) 📝 `docs/mcp-contracts.md` (+1 -0) 📝 `src/config.test.ts` (+34 -0) 📝 `src/config/environment.ts` (+4 -0) 📝 `src/config/providerStartupTimeout.ts` (+4 -0) ➕ `src/process/DarwinProcessRunTokenReader.timeout.test.ts` (+34 -0) 📝 `src/process/DarwinProcessRunTokenReader.ts` (+28 -5) 📝 `src/process/ProcessOwnershipObservation.ts` (+5 -0) </details> ### 📄 Description ## Summary - Add `REA_SWIFTC_COMPILE_TIMEOUT_MS` (1–2147483647 ms, default 60000) for Darwin ownership-helper `swiftc` compilation. - Wire it through config validation and the process-ownership host, matching `REA_GHIDRA_STARTUP_TIMEOUT_MS` / `REA_HOPPER_STARTUP_TIMEOUT_MS`. - Document the setting in installation and MCP contracts. Fixes #2184 ## Test plan - [x] `npm run test:focused -- src/config.test.ts src/process/DarwinProcessRunTokenReader.timeout.test.ts` - [x] `npm run check:fast` - [x] `REA_SWIFTC_COMPILE_TIMEOUT_MS=loud rea analyze …` → `configuration_invalid` naming the setting - [x] `REA_SWIFTC_COMPILE_TIMEOUT_MS=120000` accepted by `parseConfig` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 01:04:00 +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#5106
No description provided.