From c0aaa342913323145f340dec80cafbeeaefb18f5 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 20:37:52 +0000 Subject: [PATCH 1/4] Debug: add version and loading info to tests Temporary debug commit to identify julia-pre CI failure. https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni --- test/runtests.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index 36f20ea..56edbeb 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,7 +1,12 @@ +@info "Julia version: $(VERSION)" +@info "depwarn setting: $(Base.JLOptions().depwarn)" using DynamicPolynomials +@info "DynamicPolynomials loaded" using MultivariatePolynomials +@info "MultivariatePolynomials loaded" using Test using LinearAlgebra +@info "All packages loaded, starting tests" function alloc_test_lt(f, n) f() # compile From 5f4c4fd6cde3eb887a5e1ab9fb781250bef93ea3 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 20:43:55 +0000 Subject: [PATCH 2/4] Debug: run julia-pre tests directly for verbose output https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 963935b..711b17d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,12 @@ jobs: - uses: julia-actions/cache@v2 - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 + if: matrix.version != 'pre' with: depwarn: error + - name: Run tests (pre, verbose) + if: matrix.version == 'pre' + run: julia --depwarn=error --project -e 'using Pkg; Pkg.test()' - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 with: From d4e4497a084899bab38e7d68182fafa704067cb3 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 20:47:13 +0000 Subject: [PATCH 3/4] Debug: write test output to step summary https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 711b17d..66b93b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,12 @@ jobs: depwarn: error - name: Run tests (pre, verbose) if: matrix.version == 'pre' - run: julia --depwarn=error --project -e 'using Pkg; Pkg.test()' + run: | + julia --depwarn=error --project -e 'using Pkg; Pkg.test()' 2>&1 | tee /tmp/test-output.txt || true + echo '```' >> $GITHUB_STEP_SUMMARY + tail -100 /tmp/test-output.txt >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + grep -q "Testing DynamicPolynomials tests passed" /tmp/test-output.txt - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 with: From 5e98a4f81224788ce652ba72c3143d67e04ec6c8 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Apr 2026 20:51:26 +0000 Subject: [PATCH 4/4] Debug: post test output as PR comment on failure https://claude.ai/code/session_01SGAgzkbRVNAL51y3Fo9fni --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 66b93b2..80e3080 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,12 +40,27 @@ jobs: depwarn: error - name: Run tests (pre, verbose) if: matrix.version == 'pre' + id: pre_test run: | julia --depwarn=error --project -e 'using Pkg; Pkg.test()' 2>&1 | tee /tmp/test-output.txt || true echo '```' >> $GITHUB_STEP_SUMMARY tail -100 /tmp/test-output.txt >> $GITHUB_STEP_SUMMARY echo '```' >> $GITHUB_STEP_SUMMARY grep -q "Testing DynamicPolynomials tests passed" /tmp/test-output.txt + - name: Post test output as PR comment + if: failure() && matrix.version == 'pre' && github.event_name == 'pull_request' + uses: actions/github-script@v7 + with: + script: | + const fs = require('fs'); + const output = fs.readFileSync('/tmp/test-output.txt', 'utf8'); + const last200 = output.split('\n').slice(-200).join('\n'); + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + body: `### Julia pre test failure\n\`\`\`\n${last200}\n\`\`\`` + }); - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v4 with: