Skip to content

Split config file#505

Open
Bslabe123 wants to merge 1 commit into
kubernetes-sigs:mainfrom
Bslabe123:config-split
Open

Split config file#505
Bslabe123 wants to merge 1 commit into
kubernetes-sigs:mainfrom
Bslabe123:config-split

Conversation

@Bslabe123
Copy link
Copy Markdown
Contributor

@Bslabe123 Bslabe123 commented May 22, 2026

NOTE:

  • No functional changes
  • No changes to tests

Splits the 792-line inference_perf/config.py into per-subsystem modules under inference_perf/config/ (datagen, loadgen, reportgen, client/{modelserver,filestorage,server_metrics}, metrics, apis, utils), each as a config.py inside its own directory so it can grow into siblings without restructuring later. This mirrors the runtime tree so the config surface for a subsystem lives next to its other concerns. Keeps the public import path stable via inference_perf/config/init.py re-exports so no call sites had to change.

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2026
@k8s-ci-robot k8s-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 22, 2026
@Bslabe123 Bslabe123 changed the title [WIP] Split config file [WIP] Split config file May 22, 2026
@Bslabe123 Bslabe123 changed the title [WIP] Split config file Split config file May 22, 2026
@Bslabe123 Bslabe123 marked this pull request as ready for review May 22, 2026 17:28
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2026
Bslabe123 added a commit to Bslabe123/inference-perf that referenced this pull request May 28, 2026
Adds 56 unit tests covering the config package introduced in kubernetes-sigs#505:
top-level config read and deep-merge, common distributions, and
per-package validation for apis, loadgen, client (storage and
server_metrics), the datagen data block, and reportgen.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bslabe123 added a commit to Bslabe123/inference-perf that referenced this pull request May 28, 2026
Adds 56 unit tests covering the config package introduced in kubernetes-sigs#505:
top-level config read and deep-merge, common distributions, and
per-package validation for apis, loadgen, client (storage and
server_metrics), the datagen data block, and reportgen.
@achandrasekar
Copy link
Copy Markdown
Contributor

/approve

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: achandrasekar, Bslabe123

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 29, 2026
@achandrasekar
Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants