Skip to content

Make sure scenario version applies for source ingestion - #38377

Merged
peterdukelarsen merged 1 commit into
MaterializeInc:mainfrom
peterdukelarsen:version-forwarding-fix
Aug 20, 2026
Merged

Make sure scenario version applies for source ingestion#38377
peterdukelarsen merged 1 commit into
MaterializeInc:mainfrom
peterdukelarsen:version-forwarding-fix

Conversation

@peterdukelarsen

@peterdukelarsen peterdukelarsen commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Motivation

Part of: SS-432

#38363 (comment)

I bumped the source ingestion scenario to indicate we couldn't compare against historical runs due to a bump in the mysql version. This didn't actually work because the scenario is wrapped with a StrongScalingSweep (or one of a couple other classes), which inherits from the root Scenario the old version. So we want to make the individual source ingestion version bump take precedence over the StrongScalingSweep etc. versions.

Description

Makes the version a method that different implementations can override. We have the wrapping scenarios delegate to the underlying workloads.

This will let us override other specific workloads independently, but we will either need to patch in some sort of version fudging or bump the other global version if we tweak StrongScalingSweep in the future.

Verification

run_scenario read VERSION off the sweep wrapper, but the wrappers never
exposed the wrapped workload's VERSION, so a bump on a workload class
(e.g. SourceIngestionScenario 1.1.0) fell through to the driver
Scenario's default "1.0.0" and never reached the recorded results.

Replace the driver Scenario's VERSION attribute with a version() method
that sweeps override to delegate to their workload, while direct
scenarios keep the documented default. Workloads keep VERSION as the
attribute to bump.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@peterdukelarsen
peterdukelarsen requested a review from a team August 20, 2026 20:31
@peterdukelarsen
peterdukelarsen merged commit 28d3673 into MaterializeInc:main Aug 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants