name: CI repro (readLinkAt) # Throwaway workflow to reproduce the determinate-nix `readLinkAt.works` unit # test failure seen in the master CI build, and capture the full gtest log. # Runs only on this branch; delete the branch when done. on: push: branches: [ci-repro-readlinkat] jobs: repro: name: Reproduce determinate-nix test failure runs-on: ubuntu-26.04 steps: - uses: actions/checkout@v6 - uses: DeterminateSystems/determinate-nix-action@v3 with: github-token: ${{ secrets.GH_PULL_TOKEN }} extra-conf: | sandbox-fallback = false cores = 6 lazy-trees = true eval-cores = 0 accept-flake-config = true extra-substituters = https://nix-cache.nul.ie extra-trusted-public-keys = nix-cache.nul.ie-1:BzH5yMfF4HbzY1C977XzOxoPhEc9Zbu39ftPkUbH+m4= - name: Build devshell with full logs run: | set -eo pipefail # With the determinateOverlay GTEST_FILTER=-readLinkAt.* fix in flake.nix, # nix-util-tests-run should skip the long-symlink test and the build should # go green on this XFS-backed runner. nix build -L --keep-going --no-link .#ci.x86_64-linux.shell 2>&1 | tee repro.log - name: Show readLinkAt result if: always() run: | echo "===== nix-util-tests outcome =====" grep -nE 'Google Test filter|readLinkAt|tests ran|PASSED|FAILED|File name too long' repro.log 2>/dev/null | tail -20 || true