Skip to content

Conversation

@github-actions
Copy link

Summary

This PR was automatically generated by Claude Code to fix failing nightly CI tests.
Each test fix is in a separate commit with its own description.

Original Failure

Commits (2 fixes)

  • Fix test: compress_sort_transform
    Fix compress_sort_transform test for PostgreSQL 18.0 PostgreSQL 18.0's query planner made a different cost-based decision for the final join query in the test, choosing Sequential Scan over Index Only Scan Backward for accessing uncompressed chunk data. This is a legitimate planner behavior change, not a bug. Created a PG18-specific expected output file to accommodate this difference.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

  • Fix test: bgw_job_stat_history_errors
    Fix timing-sensitive bgw_job_stat_history_errors test The test was failing on macOS because jobs completed too quickly (0.1s sleep) to reliably trigger background worker limit exceeded errors. Increased job sleep duration from 0.1s to 1s to ensure concurrent execution exceeds the max_worker_processes limit of 24 when launching 26 jobs, making the test deterministic across different system speeds.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Testing

Please review each commit and ensure the fixes are appropriate before merging.
The CI will run the full test suite to verify the fixes.


🤖 Generated with Claude Code

Fix timing-sensitive bgw_job_stat_history_errors test The test was failing on macOS because jobs completed too quickly (0.1s sleep) to reliably trigger background worker limit exceeded errors. Increased job sleep duration from 0.1s to 1s to ensure concurrent execution exceeds the max_worker_processes limit of 24 when launching 26 jobs, making the test deterministic across different system speeds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions bot requested a review from a team January 16, 2026 00:33
@github-actions github-actions bot added the claude-code PR generated by Claude Code label Jan 16, 2026
@erimatnor erimatnor force-pushed the claude-fix/nightly-20260116-003025 branch from b8238df to 343553d Compare January 16, 2026 16:10
Stabilize the compress_sort_transform test by disabling seqscan for
the final join query. The flakiness was caused by PostgreSQL's
cost-based optimizer choosing between Seq Scan and Index Scan for the
uncompressed chunk data - with only ~720 rows matching the filter,
the cost difference is minimal and can vary based on statistics.

Using enable_seqscan=false is the appropriate fix because:
1. This test verifies sort transform optimization, not planner costs
2. This pattern is used in 12+ other tests in the suite
3. It ensures deterministic behavior across all PostgreSQL versions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@erimatnor erimatnor force-pushed the claude-fix/nightly-20260116-003025 branch from 343553d to 4fea167 Compare January 16, 2026 16:17
@erimatnor
Copy link
Member

Once PR #9139 is merged, Claude should be able to fix up this PR based on our review feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude-code PR generated by Claude Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants