[PR #1660] [MERGED] ci: scope provider and native verification by changed inputs #4731

Closed
opened 2026-10-31 00:54:29 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: codex/scoped-ci


📝 Commits (1)

  • 1be08a2 ci: scope provider and native verification by changed inputs

📊 Changes

18 files changed (+967 additions, -354 deletions)

View changed files

➕ .github/actionlint.yaml (+6 -0)
📝 .github/workflows/ci.yml (+145 -50)
📝 .github/workflows/nativeaot-fixtures.yml (+1 -6)
📝 .github/workflows/real-binary-layout.yml (+1 -30)
📝 .github/workflows/real-browser.yml (+1 -34)
📝 .github/workflows/real-evm-interface.yml (+1 -27)
📝 .github/workflows/real-javascript-recovery.yml (+1 -26)
📝 .github/workflows/real-recorded-crash.yml (+1 -28)
📝 .github/workflows/real-web-network-captures.yml (+1 -32)
📝 .github/workflows/real-web-runtime.yml (+1 -29)
📝 .github/workflows/real-web-source-map.yml (+1 -22)
📝 .github/workflows/website-check.yml (+1 -6)
📝 docs/testing.md (+31 -6)
➕ scripts/ci/plan.mjs (+174 -0)
➕ scripts/ci/required.mjs (+25 -0)
➕ scripts/ci/scopes.mjs (+227 -0)
📝 tests/boundary/filesystem/ciChangeScope.test.ts (+325 -53)
📝 tests/boundary/filesystem/releaseWorkflow.test.ts (+24 -5)

📄 Description

Package script edits and ordinary code PRs currently start unrelated provider and native-host checks. This change uses one tested change planner to select those lanes, then enables its decisions directly in CI.

Every code PR keeps the complete four-shard Linux suite. Provider implementation changes select their owned real-provider checks and Linux x64 package/Inspector verification. Test-only changes, including tests beside source files, skip provider and native-package jobs. Documentation, website, and workflow changes select their corresponding checks. Shared boundaries, dependencies, unknown inputs, and changes to the planner select the full baseline. Main pushes, manual dispatch, and PRs carrying ci:full retain full verification.

The ten specialist workflows become reusable workflows with manual dispatch preserved. Their previous ownership paths move into one table; package changes are classified centrally. Android workflow/build-script edits select workflow validation without claiming real Android verification. The CI required aggregate rejects failures, cancellations, classification errors, and unexpectedly skipped selected work. Existing required contexts and branch protection are unchanged.

Validation:

  • 82 focused tests pass, including real Git fixtures for docs, website, colocated tests, browser, EVM, mixed scopes, deletions/renames, npm scripts, lockfiles/toolchains, unknown inputs, invalid refs, malformed package JSON, and selected-job failure/cancellation/skips.
  • Replayed recent actual changes: JavaScript implementation selects JavaScript recovery plus Linux packaging; shared process changes broaden; the earlier Termux lock fix selects Linux tests and workflow validation without unrelated providers or the native matrix.
  • npm run check:ci, npm run docs:check, and pinned actionlint validation of all workflows pass locally.
  • Hosted workflow execution and real-provider/platform runs remain to be verified by this PR's CI. Selection fixtures establish selection behavior only.

🔄 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/1660 **Author:** [@morluto](https://github.com/morluto) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `codex/scoped-ci` --- ### 📝 Commits (1) - [`1be08a2`](https://github.com/morluto/rea/commit/1be08a2f17048732617674b5ed6d1125777fec61) ci: scope provider and native verification by changed inputs ### 📊 Changes **18 files changed** (+967 additions, -354 deletions) <details> <summary>View changed files</summary> ➕ `.github/actionlint.yaml` (+6 -0) 📝 `.github/workflows/ci.yml` (+145 -50) 📝 `.github/workflows/nativeaot-fixtures.yml` (+1 -6) 📝 `.github/workflows/real-binary-layout.yml` (+1 -30) 📝 `.github/workflows/real-browser.yml` (+1 -34) 📝 `.github/workflows/real-evm-interface.yml` (+1 -27) 📝 `.github/workflows/real-javascript-recovery.yml` (+1 -26) 📝 `.github/workflows/real-recorded-crash.yml` (+1 -28) 📝 `.github/workflows/real-web-network-captures.yml` (+1 -32) 📝 `.github/workflows/real-web-runtime.yml` (+1 -29) 📝 `.github/workflows/real-web-source-map.yml` (+1 -22) 📝 `.github/workflows/website-check.yml` (+1 -6) 📝 `docs/testing.md` (+31 -6) ➕ `scripts/ci/plan.mjs` (+174 -0) ➕ `scripts/ci/required.mjs` (+25 -0) ➕ `scripts/ci/scopes.mjs` (+227 -0) 📝 `tests/boundary/filesystem/ciChangeScope.test.ts` (+325 -53) 📝 `tests/boundary/filesystem/releaseWorkflow.test.ts` (+24 -5) </details> ### 📄 Description Package script edits and ordinary code PRs currently start unrelated provider and native-host checks. This change uses one tested change planner to select those lanes, then enables its decisions directly in CI. Every code PR keeps the complete four-shard Linux suite. Provider implementation changes select their owned real-provider checks and Linux x64 package/Inspector verification. Test-only changes, including tests beside source files, skip provider and native-package jobs. Documentation, website, and workflow changes select their corresponding checks. Shared boundaries, dependencies, unknown inputs, and changes to the planner select the full baseline. Main pushes, manual dispatch, and PRs carrying `ci:full` retain full verification. The ten specialist workflows become reusable workflows with manual dispatch preserved. Their previous ownership paths move into one table; package changes are classified centrally. Android workflow/build-script edits select workflow validation without claiming real Android verification. The `CI required` aggregate rejects failures, cancellations, classification errors, and unexpectedly skipped selected work. Existing required contexts and branch protection are unchanged. Validation: - 82 focused tests pass, including real Git fixtures for docs, website, colocated tests, browser, EVM, mixed scopes, deletions/renames, npm scripts, lockfiles/toolchains, unknown inputs, invalid refs, malformed package JSON, and selected-job failure/cancellation/skips. - Replayed recent actual changes: JavaScript implementation selects JavaScript recovery plus Linux packaging; shared process changes broaden; the earlier Termux lock fix selects Linux tests and workflow validation without unrelated providers or the native matrix. - `npm run check:ci`, `npm run docs:check`, and pinned actionlint validation of all workflows pass locally. - Hosted workflow execution and real-provider/platform runs remain to be verified by this PR's CI. Selection fixtures establish selection behavior only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 00:54:29 +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#4731
No description provided.