Repository navigation
Description
This issue was generated automatically by Claude Code (Anthropic's AI coding agent) running a scheduled CI-triage routine on behalf of @FrankChen021. Analysis and suggested fixes are AI-produced; please verify before acting on them.
Status: Resolved by #20685
Subject: PartialQueryableIndexServableBundlesTest.testUseProjectionNamingUnservedProjectionFails (processing, unit tests / unit tests(main) (25, R*,B*,P*))
Failures: 9 · First seen: 2026-10-21 · Last seen: 2026-10-23
Root cause
Semantic conflict between two PRs that merged an hour apart. #20617 (merged 11:31Z) added this test, which asks for useProjection = the small projection while only the big projection's bundle is servable, and asserts the message contains does not satisfy query. #20633 (merged 12:39Z, built on an older base) added a check in Projections.findMatchingProjection that throws Projection[%s] does not exist when the name is not in the projection set; PartialQueryableIndex.getServableProjection passes only the servable projections, so the unserved projection now hits the new branch (line 287, Projection[dim1_count] does not exist). That message is wrong here: dim1_count is in the segment (the test builds it at line 86, and the unfiltered planCursorPrefetch(spec, null) call at line 281 matches it); it is only not servable. It fails deterministically, 4/4 attempts, on every master commit from def6c17 (#20633) through 6f8c9d0 (#20695), the last commit before #20685.
Suggested fix
Merged in #20685 (2026-10-23): Projections.findMatchingProjection gained a servable-projection predicate, so the does not exist check runs against the segment's full projections set while matching stays restricted to servable projections. No further change needed unless the test fails on master after that merge.
Occurrences
Failed push-triggered master jobs only. The daily triage routine adds one row per new failed job.
| Date | Commit | Job | Failure log | Detail | Reported in |
|---|---|---|---|---|---|
| 2026-10-21 | def6c17 (#20633) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119226467927 | Projection[dim1_count] does not exist ==> expected: <true> but was: <false> at line 287; 4/4 attempts failed |
|
| 2026-10-21 | def8674 (#20652) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119228138238 | same assertion at line 287; 4/4 attempts failed | |
| 2026-10-21 | 96431fe (#20648) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119289424487 | same assertion at line 287; 4/4 attempts failed | |
| 2026-10-22 | b3184fb (#20589) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119334296332 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) | |
| 2026-10-22 | 2a59e1f (#20658) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119587596159 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) | |
| 2026-10-22 | 3abff1d (#20656) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119587998536 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) | |
| 2026-10-22 | 76b2671 (#20649) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119606944478 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) | |
| 2026-10-22 | fce1055 (#20671) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 119897330347 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) | |
| 2026-10-23 | 6f8c9d0 (#20695) | unit tests / unit tests(main) (25, R*,B*,P*) / test-jdk25-[R*,B*,P*] |
job 120158878355 | same assertion at line 287; 4/4 attempts failed (before #20685 merged) |
Activity
FrankChen021 commentedon Oct 22, 2026
@BackendArchitectX @clintropolis looping you in, since this comes from #20633 and #20617 landing about an hour apart.
#20633 added
Projection[%s] does not existtoProjections.findMatchingProjection.PartialQueryableIndex.getServableProjectionpasses that method only the servable projections, so a projection that is in the segment but not servable (dim1_countintestUseProjectionNamingUnservedProjectionFails) is now reported as not existing. The test's expectation (does not satisfy query) looks right to us, so the proposed follow-up is to run the existence check against the fullprojectionsset and keepdoes not existfor names the segment doesn't have. Does that match what each of you intended?BackendArchitectX commentedon Oct 22, 2026
Thanks for flagging this, @FrankChen021.
Yes, this matches the intent of #20633. The existence check should use the full projection metadata, while projection matching should remain restricted to servable projections.
I agree that the current behavior is incorrect. I'll prepare a focused follow-up fix and add regression tests for missing, unservable and incompatible projections.
Thanks for catching this.
FrankChen021 commentedon Oct 23, 2026
Failed again on 2026-10-22: 5 master commits (b3184fb through fce1055), e.g. fce1055 job 119897330347, same
does not existassertion at line 287, 4/4 attempts. All of these predate #20685 (merged 2026-10-23), so the issue stays closed.FrankChen021 commentedon Oct 24, 2026
Failed again on 2026-10-23: 6f8c9d0 job 120158878355, same
does not existassertion at line 287, 4/4 attempts. This commit predates #20685 (ed4fb76, merged later the same day), and every master run since #20685 has passed, so the issue stays closed.