Skip to content

Conversation

@rail
Copy link
Member

@rail rail commented Nov 11, 2025

Previously, even when the probabilities for arm64 and fips builds were set to 0, the nightly roachtest script would still build those variants, which is unnecessary. This change modifies the script to skip building arm64 and fips variants when their respective probabilities are set to 0.

Epic: none
Release note: none

…ies are 0

Previously, even when the probabilities for arm64 and fips builds were set to 0,
the nightly roachtest script would still build those variants, which is unnecessary
and wasteful. This change modifies the script to skip building arm64 and fips
variants when their respective probabilities are set to 0.

Epic: none
Release note: none
@rail rail self-assigned this Nov 11, 2025
@rail rail requested a review from a team as a code owner November 11, 2025 03:12
@rail rail added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-testing Testing tools and infrastructure T-testeng TestEng Team labels Nov 11, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rail rail requested review from a team, DarrylWong, golgeek and srosenberg and removed request for a team November 11, 2025 14:27
Copy link
Contributor

@DarrylWong DarrylWong left a comment

Choose a reason for hiding this comment

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

This seems like a fine optimization to make, although I imagine only a very small percentage of runs even touch the default probabilities.

@DarrylWong
Copy link
Contributor

Oh I see, I didn't realize the pgo script called the nightly script. SGTM then!

@rail
Copy link
Member Author

rail commented Nov 12, 2025

Oh I see, I didn't realize the pgo script called the nightly script. SGTM then!

yeah, it saves almost 2 hours there (building twice).

@rail
Copy link
Member Author

rail commented Nov 12, 2025

bors r=DarrylWong

craig bot pushed a commit that referenced this pull request Nov 12, 2025
155872: changefeedccl: fix timestamp for desc fetches during planning r=andyyang890,aerfrei a=log-head

When a changefeed is planned and executed, there are several places where target table descriptors are fetched. With a db-level changefeed, the set of tables can change during changefeed startup. Now, the timestamp is set to the schema timestamp for retrieving table descriptors.

Adding a schema_ts to the protobuf for ChangeAggregatorSpec and ChangeFrontierSpec.

Fixes: #154549
Epic: CRDB-1421

Release note: None

157144: sql: add `ALTER TABLE ... SET/ADD IDENTITY` to the declarative schema… r=shghasemi a=shghasemi

… changer

This change adds support for `ALTER TABLE ... SET/ADD IDENTITY` to the declarative schema changer. This schema change operation runs using the legacy schema changer in versions older than 26.1.

Epic: CRDB-31283

Fixes #142918

Release note (sql change): `ALTER TABLE ... SET/ADD GENERATED AS IDENTITY` is supported by the declerative schema changer in 26.1 or later.

157158: roachtest: do not build arm64 and fips if probabilitiy is 0 r=DarrylWong a=rail

Previously, even when the probabilities for arm64 and fips builds were set to 0, the nightly roachtest script would still build those variants, which is unnecessary. This change modifies the script to skip building arm64 and fips variants when their respective probabilities are set to 0.

Epic: none
Release note: none

Co-authored-by: Matthew Lougheed <[email protected]>
Co-authored-by: Shadi Ghasemitaheri <[email protected]>
Co-authored-by: Rail Aliiev <[email protected]>
@craig
Copy link
Contributor

craig bot commented Nov 12, 2025

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Nov 12, 2025

@craig craig bot merged commit c484d09 into cockroachdb:master Nov 12, 2025
23 checks passed
@rail rail deleted the rail/pr-nuplrxvwtmoy branch November 12, 2025 18:58
golgeek added a commit to golgeek/cockroach that referenced this pull request Nov 13, 2025
PR cockroachdb#157158 introduced a conditional build for ARM64 and FIPS
architectures based on the metamorphic probability flags. The initial
implementation used `bc` to compare floating point, but the command is
not available on the TeamCity agents.

This patch uses `awk` in place of `bc`.

Epic: none
Release note: None
craig bot pushed a commit that referenced this pull request Nov 13, 2025
157759: roachtest: fix conditional build for arm64 and fips r=herkolategan a=golgeek

PR #157158 introduced a conditional build for ARM64 and FIPS architectures based on the metamorphic probability flags.

The initial implementation used `bc` to compare floating point, but the command is not available on the TeamCity agents:
```
build/teamcity/cockroach/nightlies/roachtest_nightly_impl.sh: line 39: bc: command not found
```

This patch uses `awk` in place of `bc`.

Epic: none
Release note: None

Co-authored-by: Ludovic Leroux <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testing Testing tools and infrastructure C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-testeng TestEng Team target-release-26.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants