WIP: Fix pid1 integration tests, clippy warnings, and CI triggers #22

Draft
mik-tf wants to merge 4 commits from development_fix_ci_tests into development
Member

Summary

  • Fix env var mismatch: tests passed ZINIT_SERVER_BIN but pid1 reads ZINIT_OPENRPC_BIN, causing pid1 to fall back to hardcoded /sbin/ paths that don't exist in CI
  • Fix clippy zombie_processes lint: add .wait() after .kill() in test cleanup
  • Update integration README to reference correct env var
  • Narrow build.yaml and test.yaml push triggers from ["*"] to [development, main]

Depends on #20 being merged first (build-linux fix).

Ref #21

## Summary - Fix env var mismatch: tests passed `ZINIT_SERVER_BIN` but pid1 reads `ZINIT_OPENRPC_BIN`, causing pid1 to fall back to hardcoded `/sbin/` paths that don't exist in CI - Fix clippy `zombie_processes` lint: add `.wait()` after `.kill()` in test cleanup - Update integration README to reference correct env var - Narrow `build.yaml` and `test.yaml` push triggers from `["*"]` to `[development, main]` Depends on #20 being merged first (build-linux fix). Ref #21
mik-tf self-assigned this 2026-02-26 17:58:07 +00:00
fix: fix pid1 integration tests and narrow CI triggers
Some checks failed
Build and Test / build (pull_request) Failing after 29s
Tests / test (pull_request) Successful in 2m45s
662b4302a5
- Fix env var mismatch: tests passed ZINIT_SERVER_BIN but pid1 reads
  ZINIT_OPENRPC_BIN — pid1 was falling back to hardcoded /sbin/ paths
- Fix clippy zombie_processes: add .wait() after .kill() in test cleanup
- Update README to reference correct env var name
- Narrow build.yaml and test.yaml push triggers from ["*"] to
  [development, main] to match build-linux.yaml

Ref #21
fix: collapse nested if blocks to satisfy clippy collapsible_if lint
Some checks failed
Build and Test / build (pull_request) Failing after 50s
Tests / test (pull_request) Successful in 3m0s
ecd625e345
Ref #21
fix: resolve remaining clippy lints across zinit_openrpc and tests
Some checks failed
Build and Test / build (pull_request) Failing after 52s
Tests / test (pull_request) Has been cancelled
54385f15c8
- graph.rs: collapse nested if/if-let chains (7 locations)
- ipc.rs: replace single-pattern match with if-let
- process.rs: collapse nested if/if-let chains (2 locations)
- pid1_behavior.rs: remove unnecessary mut

Ref #21
fix: use irrefutable let for reboot() which returns Result<Infallible>
All checks were successful
Build and Test / build (pull_request) Successful in 2m9s
Tests / test (pull_request) Successful in 3m14s
885cb4a04d
reboot() never returns on success (system reboots), so Err is the
only reachable case. Use `let Err(e) =` instead of `if let Err(e) =`.

Ref #21
All checks were successful
Build and Test / build (pull_request) Successful in 2m9s
Tests / test (pull_request) Successful in 3m14s
This pull request has changes conflicting with the target branch.
  • tests/integration/README.md
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin development_fix_ci_tests:development_fix_ci_tests
git switch development_fix_ci_tests

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch development
git merge --no-ff development_fix_ci_tests
git switch development_fix_ci_tests
git rebase development
git switch development
git merge --ff-only development_fix_ci_tests
git switch development_fix_ci_tests
git rebase development
git switch development
git merge --no-ff development_fix_ci_tests
git switch development
git merge --squash development_fix_ci_tests
git switch development
git merge --ff-only development_fix_ci_tests
git switch development
git merge development_fix_ci_tests
git push origin development
Sign in to join this conversation.
No reviewers
No labels
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
geomind_code/zinit!22
No description provided.