7cf7d29f0e
CI repro (readLinkAt) / Reproduce determinate-nix test failure (push) Successful in 13m43s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
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
|