Skip to content

ci: enhance Nix installer workflow for ACT compatibility#248

Merged
ck3mp3r merged 7 commits intomainfrom
fix/flaky-tests
Aug 19, 2025
Merged

ci: enhance Nix installer workflow for ACT compatibility#248
ck3mp3r merged 7 commits intomainfrom
fix/flaky-tests

Conversation

@ck3mp3r
Copy link
Owner

@ck3mp3r ck3mp3r commented Aug 17, 2025

  • Add step to detect Nix system architecture when running in ACT
  • Download and set executable permissions for Nix installer in ACT environment
  • Conditionally use DeterminateSystems/nix-installer-action based on ACT presence
  • Specify local-root for Nix installer action when running in ACT

@ck3mp3r ck3mp3r force-pushed the fix/flaky-tests branch 2 times, most recently from 38ec7e2 to 4491340 Compare August 19, 2025 09:49
- Add step to detect Nix system architecture when running in ACT
- Download and set executable permissions for Nix installer in ACT environment
- Conditionally use DeterminateSystems/nix-installer-action based on ACT presence
- Specify local-root for Nix installer action when running in ACT
- Upgrade multiple Rust crates in Cargo.lock to latest versions, including adler2, anstream, anstyle, autocfg, backtrace, bitflags, clap, dyn-clone, either, env_logger, hashbrown, indexmap, itoa, libc, linux-raw-sys, litrs, lock_api, memchr, miniz_oxide, mio, once_cell, owo-colors, parking_lot, parking_lot_core, portable-atomic, proc-macro2, quote, redox_syscall, rustc-demangle, rustix, ryu, serde_json, signal-hook, signal-hook-registry, smallvec, syn, terminal_size, textwrap, thread_local, unicode-ident, unicode-width, wasi, windows-sys, windows-targets, and related subcrates
- Add new dependencies: jiff, jiff-static, once_cell_polyfill, portable-atomic-util, windows-link
- Remove unused dependency humantime from env_logger
- Update .gitignore to include .crush/, target/, and adjust result/ and .direnv/ entries
- Refresh flake.lock to track latest revisions and hashes for fenix and nixpkgs sources
- Update Nix build command in CI to use detected system output
- Insert 50ms sleep after stopping zellij session in test for improved reliability
- Eliminate environment-based condition to ensure Nix system detection step always runs
- Simplify workflow logic for consistent platform identification
- Set RUST_BACKTRACE to "full" for enhanced error reporting in Nix build
- Add debug print statements before and after stop() invocation in Zellij test
- Remove unnecessary sleep after stop() call in Zellij test
- Add print-build-logs flag to Nix build step in CI workflow to improve build diagnostics
- Remove unused thread sleep import from Zellij muxer test module
- Replace cachix/install-nix-action with DeterminateSystems/nix-installer-action in package-data and release workflows
- Update installer reference to use main branch for improved reliability
@ck3mp3r ck3mp3r marked this pull request as ready for review August 19, 2025 10:15
@ck3mp3r ck3mp3r merged commit 8f45b29 into main Aug 19, 2025
2 checks passed
@ck3mp3r ck3mp3r deleted the fix/flaky-tests branch August 19, 2025 10:21
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