Skip to content

workloadccl: relocate to pkg/workload#169746

Open
stevendanna wants to merge 4 commits intocockroachdb:masterfrom
stevendanna:ssd/workloadccl-cya
Open

workloadccl: relocate to pkg/workload#169746
stevendanna wants to merge 4 commits intocockroachdb:masterfrom
stevendanna:ssd/workloadccl-cya

Conversation

@stevendanna
Copy link
Copy Markdown
Collaborator

Drains pkg/ccl/workloadccl/ to pkg/workload/. None of the code in
that tree implements a CCL gate; it lived under pkg/ccl/ for
historical organizational reasons only.

The four commits each move one piece, in dependency order:

  1. pkg/workload/fixture — fixture/storage core. Drops stutter from
    the public API at the same time (FixtureConfig -> Config,
    MakeFixture -> Make, etc.).
  2. pkg/workload/roachmart — the workload generator.
  3. pkg/workload/cli/fixturescmd — the cobra fixtures subcommand.
    Lives in a sub-package of pkg/workload/cli/ so generic
    workloadcli importers don't drag in the cloud-storage providers.
  4. pkg/workload/all — the aggregator. Removing this clears the last
    subdirectory of pkg/ccl/workloadccl/, so the parent goes too.

The cherry-pick of workloads in pkg/cli/cli.go (which intentionally
omits some of the aggregator's set) is preserved; the only update to
that file is repointing the explanatory comment at the new aggregator
path.

Epic: none

While here, we also rename some functions since the package name now
makes it clear that the types refer to fixtures.

Epic: none
Release note: None
No Sub-package keeps cloud-storage providers (pulled in via
pkg/workload/fixture) out of generic workloadcli importers. Misleading
"enterprise license required/not required" wording on load/import
short descriptions becomes "via RESTORE"/"via IMPORT".

Epic: none
Release note: None
The aggregator lived under pkg/ccl because it bundled the (then)
CCL-only roachmart workload; with roachmart relocated, the aggregator
follows. This deletes the last subdirectory of pkg/ccl/workloadccl;
the matching CODEOWNERS entry and a stale pkg/cli/cli.go comment are
repointed at the new path.

Epic: none
Release note: None
@stevendanna stevendanna requested review from a team as code owners May 5, 2026 13:27
@stevendanna stevendanna requested review from cpj2195 and herkolategan and removed request for a team May 5, 2026 13:27
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 5, 2026

Merging to master in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

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