Commit fc63227
157030: sql: alter column identity with the declarative schema changer r=bghal a=bghal
Adds support for the `ALTER COLUMN ... [RESTART | SET [CACHE | CYCLE |
... ]` identity operations in the declarative schema changer.
Fixes:#142914
Epic: CRDB-31283
Release note (sql change): The `ALTER COLUMN ...` sequence identity
commands are run by the declarative schema changer.
158631: jobs: hold claim on failed job for one adoption cycle r=dt,stevendanna a=kev-cao
This commit teaches the job system to hold the claim on failed jobs for one adoption cycle before releasing the claim. This alleviates hot loops where a fast-failing job can be picked up repeatedly by different nodes within an adoption cycle.
Fixes: #158597
Release note: None
158796: logictest: reduce test churn when adding new system table r=yuzefovich a=yuzefovich
This commit reduces the test churn when adding a new system table via:
- eliding rangeID prefix from 'sending batch ...' trace message
- replacing the tableIDs in messages like '<before:/Table/77>' and '<after:/Table/107/1>' with 'XX'.
Additionally it adjusts a handful of tests to avoid requesting the range ID where it didn't seem required for the purpose of the test.
It also removes duplicated query from `information_schema` test which should've been removed when `local-mixed-23.2` config was removed.
Addresses: #135989.
Epic: None
Release note: None
158998: .claude: add commit-helper and backport-pr-assistant skills according to CockroachDB conventions r=rafiss a=rafiss
### .claude: add commit-helper skill for CockroachDB conventions
Add a Claude Code skill that assists with creating properly formatted
commit messages and release notes following CockroachDB conventions.
The skill encodes the project's commit message structure, release note
categories, and best practices to help ensure consistency across
contributions.
The skill covers:
- Commit message structure (package prefix, imperative mood, body format)
- Release note categories and when to include/exclude them
- Issue and epic reference formatting
- Common mistakes to avoid
### .claude: add backport-pr-assistant skill for conflict resolution
Add a Claude Code skill that assists with backporting PRs to release
branches when merge conflicts require manual resolution. The skill
provides reference documentation for the backport CLI tool and
guidelines for resolving conflicts during the backport process.
This is implemented as a skill (rather than an agent) because simple
backports are handled by automation, so Claude is only invoked for
cases with conflicts that require interactive discussion and
resolution.
The skill covers:
- Backport CLI tool usage and common commands
- Workflow for handling conflicts during backports
- Guidelines for simple vs complex conflict resolution
- Quality checks after successful backport
Epic: None
Release note: None
Co-authored-by: Brendan Gerrity <[email protected]>
Co-authored-by: Kevin Cao <[email protected]>
Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
File tree
152 files changed
+1496
-821
lines changed- .claude/skills
- backport-pr-assistant
- commit-helper
- pkg
- ccl/logictestccl/testdata/logic_test
- cmd/roachtest/tests
- jobs
- sql
- catalog/schemaexpr
- importer
- inspect
- logictest
- testdata/logic_test
- opt/exec/execbuilder/testdata
- schemachanger
- scbuild
- internal/scbuildstmt
- testdata
- scdecomp
- scdeps
- sctestdeps
- scexec
- scmutationexec
- scop
- scpb
- uml
- scplan
- internal
- opgen
- rules/current/testdata
- testdata
- screl
- testdata/end_to_end
- add_column_generated_serial
- add_column_generated
- add_column_serial_simple_sequence_cached_node
- add_column_serial_simple_sequence_cached
- add_column_serial_simple_sequence_virtual
- alter_table_alter_column_add_identity
- alter_table_alter_column_set_identity
- create_complex
- create_sequence_add_column
- create_sequence_drop_sequence
- create_sequence
- create_temp_sequence
- sem/tree
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
152 files changed
+1496
-821
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | | - | |
| 254 | + | |
255 | 255 | | |
256 | | - | |
257 | | - | |
| 256 | + | |
| 257 | + | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
471 | | - | |
| 471 | + | |
| 472 | + | |
472 | 473 | | |
473 | | - | |
474 | | - | |
475 | 474 | | |
476 | 475 | | |
477 | 476 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
269 | | - | |
| 269 | + | |
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| |||
209 | 210 | | |
210 | 211 | | |
211 | 212 | | |
212 | | - | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | 427 | | |
| 428 | + | |
431 | 429 | | |
432 | 430 | | |
433 | 431 | | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
434 | 449 | | |
435 | 450 | | |
436 | 451 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
| 179 | + | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
184 | 183 | | |
185 | | - | |
186 | | - | |
187 | 184 | | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
| 185 | + | |
192 | 186 | | |
193 | 187 | | |
194 | 188 | | |
| |||
202 | 196 | | |
203 | 197 | | |
204 | 198 | | |
205 | | - | |
206 | | - | |
| 199 | + | |
| 200 | + | |
207 | 201 | | |
208 | 202 | | |
209 | 203 | | |
| |||
0 commit comments