Skip to content

ci(apps): report the native app runtime reference on every pull request - #583

Merged
RentnerKev merged 3 commits into
mainfrom
rentner/ci/require-app-runtime-reference
Nov 26, 2026
Merged

RentnerKev merged 3 commits into
mainfrom
rentner/ci/require-app-runtime-reference

Conversation

@RentnerKev

@RentnerKev RentnerKev commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Runs on every event. App Runtime Reference now runs for every pull request and every main push. The shared change detector decides whether the work is needed: a new app_runtime selection in .github/scripts/ci/changes.ts, exposed by detect-changes.yml.

  • Unaffected PRs pass quickly. Unrelated pull requests get a quick passing "Native app runtime reference (amd64/arm64)" result instead of no status at all. This is the pattern ARM64 Appliance and CI already use, and it lets both results become required checks.

  • New native step. Add app-ipc-boundaries.sh, which runs the privileged app IPC and UI boundary fixtures on amd64 and arm64:

    • app_ipc::tests::privileged_
    • root_ui_ / root_provider_
    • app_manager::ui::tests::
    • privileged_web_socket_serves_generation_scoped_ui

    Before this, only the amd64 coverage job ran them.

The app_runtime selection covers every path the old filter listed, generalized:

  • the whole core/src/app_* boundary and its tests and fixtures
  • docker/production/ and the toolchain
  • the backup scripts, the app catalog and UI libraries
  • this workflow and its fixtures

Unknown paths still select everything.

Refs #458 (criterion 3: context escalation on both architectures; criterion 6: the gate must actually block merges).

Follow-up outside this PR

After this merges, the main ruleset needs "Native app runtime reference (amd64)" and "(arm64)" as required status checks. That is a repository setting and is not changed here.

Tests

  • web/src/tests/tooling/github/changes.test.ts:
    • which paths select and skip the reference;
    • the workflow contract: no path filter, detector guard, every step gated, IPC boundary step present.
  • selective-workflows, ci-build-cache and production-smokes-workflow tests still pass.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated continuous integration reporting for native app runtime checks on pull requests and pushes to the main branch.
    • Native app runtime verification now runs when relevant changes are detected and is skipped when they are not.
    • Added isolated checks for native app IPC and UI boundaries.

Run App Runtime Reference for every pull request and main push and let
the shared change detector decide whether the work is needed, so the
amd64 and arm64 results can become required checks without leaving
unrelated pull requests pending. A new app_runtime selection covers the
inputs the old path filter listed, generalized to the whole app
boundary, its fixtures, the production appliance and the backup
tooling.

Also run the privileged app IPC and UI boundary fixtures natively on
both architectures. The coverage job runs them on amd64 only.

Refs #458

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 7b29bde and ecf0522.

Files selected for processing: 5

  • .github/scripts/ci/changes.ts
  • .github/scripts/ci/fixtures/app-ipc-boundaries.sh
  • .github/workflows/app-runtime-reference.yml
  • .github/workflows/detect-changes.yml
  • web/src/tests/tooling/github/changes.test.ts

No actionable comments were generated in the recent review.

Walkthrough

The PR adds an app_runtime change selection and exposes it through the reusable detection workflow. The native reference workflow uses this result to conditionally run its validation steps, including new isolated IPC boundary checks.

Changes: App runtime CI

Layer / File(s) Summary
App runtime change detection
.github/scripts/ci/changes.ts, .github/workflows/detect-changes.yml, web/src/tests/tooling/github/changes.test.ts
The detector selects app_runtime for specified app runtime paths. The reusable workflow exposes the selection, and tests cover matching and non-matching paths.
Conditional reference validation
.github/workflows/app-runtime-reference.yml, .github/scripts/ci/fixtures/app-ipc-boundaries.sh, web/src/tests/tooling/github/changes.test.ts
The reference workflow runs on pull requests and pushes to main, then gates its checks on the detection result. The workflow adds an isolated Docker-based IPC boundary check, and tests verify the workflow conditions.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Other

Possibly related issues

Possibly related PRs

Merge Risk: Minimal · previous review 7b29b

This change makes the native app runtime reference check report on every pull request and run its validation only for relevant changes. No actionable merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the native app runtime reference now reports on every pull request. The changeset matches this. The change adds an app_runtime selection to the shared change detector,…
Description check Passed The description follows the template. It has a Summary that explains the change and why it is needed. It links Refs #458 and explains why it is not a Fixes/Closes link, which the template permits for …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the native app runtime reference now reports on every pull request. The changeset matches this. The change adds an app_runtime selection to the shared change detector, exposes it through detect-changes.yml, and gates the native job so unaffected PRs get a passing result. The title follows the conventional commit form and is specific.

Full details: Description check

Explanation

The description follows the template. It has a Summary that explains the change and why it is needed. It links Refs #458 and explains why it is not a Fixes/Closes link, which the template permits for CI changes. The Type of change section is not ticked, and the Checklist and Breaking changes sections are not filled in. The Testing section names the test file and the other suites that pass, so the author covered the main points. The Screenshots section is missing, but the template only requires it for UI changes. The Type of change checkbox and the Checklist should be completed before merge.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 357cdcc and 7b29bde.

Files selected for processing: 5

  • .github/scripts/ci/changes.ts
  • .github/scripts/ci/fixtures/app-ipc-boundaries.sh
  • .github/workflows/app-runtime-reference.yml
  • .github/workflows/detect-changes.yml
  • web/src/tests/tooling/github/changes.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@RentnerKev
RentnerKev merged commit 90dd587 into main Nov 26, 2026
24 checks passed
@RentnerKev
RentnerKev deleted the rentner/ci/require-app-runtime-reference branch November 26, 2026 18:57
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