Skip to content

Conversation

@yuzefovich
Copy link
Member

Given the modifications in recent commits, this mostly required plumbing the right codec into eval.Context. Additionally, a few tests needed some extra adjustments for the tenant prefix present in the spans. Only TestWriteResumeSpan is still skipped since it wasn't immediately clear what's wrong there.

Epic: CRDB-48945
Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich yuzefovich marked this pull request as ready for review October 24, 2025 20:35
@yuzefovich yuzefovich requested a review from a team as a code owner October 24, 2025 20:35
@yuzefovich yuzefovich requested review from DrewKimball and removed request for a team October 24, 2025 20:35
@github-actions
Copy link

Potential Bug(s) Detected

The three-stage Claude Code analysis has identified potential bug(s) in this PR that may warrant investigation.

Next Steps:
Please review the detailed findings in the workflow run.

After you review the findings, please tag the issue as follows:

  • If the detected issue is real or was helpful in any way, please tag the issue with O-AI-Review-Real-Issue-Found
  • If the detected issue was not helpful in any way, please tag the issue with O-AI-Review-Not-Helpful

@github-actions github-actions bot added the o-AI-Review-Potential-Issue-Detected AI reviewer found potential issue. Never assign manually—auto-applied by GH action only. label Oct 24, 2025
@yuzefovich yuzefovich added the O-AI-Review-Real-Issue-Found AI reviewer found real issue label Oct 24, 2025
Given the modifications in recent commits, this mostly required
plumbing the right codec into `eval.Context`. Additionally, a few tests
needed some extra adjustments for the tenant prefix present in the
spans. Only `TestWriteResumeSpan` is still skipped since it wasn't
immediately clear what's wrong there.

Release note: None
Copy link
Collaborator

@mgartner mgartner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@mgartner reviewed 15 of 18 files at r1, 1 of 1 files at r2, 1 of 1 files at r3.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @DrewKimball)

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

craig bot pushed a commit that referenced this pull request Oct 28, 2025
155540: kvserver: add split trigger support to TestReplicaLifecycleDataDriven r=pav-kv a=arulajmani

This patch adds a few directives to construct and evaluate split triggers.

We then use these directives to demonstrate that leases are correctly copied over from the LHS to the RHS. The interesting case is around leader leases, where if the LHS has a leader lease, the RHS gets an expiration based lease. For the other two lease types, the RHS's lease type stays the same.

Epic: none

Release note: None

156112: sql/rowexec: enable tests under secondary tenants r=yuzefovich a=yuzefovich

Given the modifications in recent commits, this mostly required plumbing the right codec into `eval.Context`. Additionally, a few tests needed some extra adjustments for the tenant prefix present in the spans. Only `TestWriteResumeSpan` is still skipped since it wasn't immediately clear what's wrong there.

Epic: CRDB-48945
Release note: None

156119: revert "sql: store bundle when TestStreamerTightBudget fails" r=yuzefovich a=yuzefovich

This reverts commit 48f11d2.

The test hasn't failed in like year and a half and the captured stmt bundle didn't actually give any more insight into why it rarely failed.

Informs: #119675.
Release note: None

156225: clusterversion: move to 26.1 version r=fqazi a=celiala

### Commit 1 (7cded94): clusterversion: move to 26.1 version

This change advances the current release series version on master from 25.4 to 26.1, following the standard M.1 process after forking the release-25.4 branch. This allows the addition of new upgrade gates for version 26.1 and prepares master for the next development cycle.

Changes implemented following the M.1 checklist from pkg/clusterversion/README.md:
- Added version key constant V26_1 (=Latest) and final version V25_4
- Added start version V26_1_Start (version 25.4-2) with first upgrade
- Updated SystemDatabaseSchemaBootstrapVersion to V26_1_Start
- Updated roachpb.successorSeries map (25.4 -> 26.1)
- Updated pkg/build/version.txt to v26.1.0-alpha.00000000
- Copied scplan rules from current to release_25_4
- Updated package names and version references in scplan rules
- Updated rulesForReleases in scplan/plan.go
- Regenerated test outputs for scplan and TestDeclarativeRules
- Updated releases file (25.4 entries removed as expected)
- Regenerated bootstrap test data with updated hash values

Note: PreviousRelease is NOT updated in this change - this only happens in M.3 after the first 25.4 RC is published.

### Commit 2 (8970893): sql: sort rulesForRelease versions in descending order

This fix was caught in a previous draft via: https://github.com/cockroachdb/cockroach/actions/runs/18817950946

- Issue: `rulesForReleases` array values were incorrectly in ascending order.
- Fix: fix was to put them in descending order.

Analysis Verification: I verified that this analysis was correct by looking at the original PR that added this array, which indeed sorts these in descending order:
- https://github.com/cockroachdb/cockroach/pull/97213/files?diff=unified


Release note (bug fix): Fix rulesForReleases ordering
Epic: None

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

156309: *: miscellaneous test-tenant-related improvements r=yuzefovich a=yuzefovich

Fixes: #142797.
Fixes: #142801.
Fixes: #142802.
Fixes: #142804.
Fixes: #142805.

Co-authored-by: Arul Ajmani <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Celia La <[email protected]>
@craig
Copy link
Contributor

craig bot commented Oct 28, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 28, 2025

@craig craig bot merged commit 448eea6 into cockroachdb:master Oct 28, 2025
24 checks passed
@yuzefovich yuzefovich deleted the tenant-rowexec branch October 28, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

o-AI-Review-Potential-Issue-Detected AI reviewer found potential issue. Never assign manually—auto-applied by GH action only. O-AI-Review-Real-Issue-Found AI reviewer found real issue target-release-26.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants