Skip to content

Regenerate SDK and release 0.1.39 - #80

Closed
yyl wants to merge 1 commit into
mainfrom
yyl-benchmark-task-collaborators-sdk-cli
Closed

yyl wants to merge 1 commit into
mainfrom
yyl-benchmark-task-collaborators-sdk-cli

Conversation

@yyl

@yyl yyl commented Nov 19, 2026

Copy link
Copy Markdown

Regenerated with kapigen --public-api-output-path from kaggleazure ci at 48eb12ab73a, with .NET SDK 10.0.100. Only kagglesdk/ is copied from the output; kagglesdk/test/ is kept. __version__ goes to 0.1.39.

Breaking changes:

  • ApiValidationStage moves from kagglesdk.benchmarks.types.benchmark_tasks_api_service to kagglesdk.benchmarks.types.benchmark_types. Importing it from the old module now raises ImportError. ApiTaskCreationValidationConfig moves too, but the old module still imports it, so the old import path works.
  • BenchmarkTaskValidationStage is no longer re-exported from benchmark_tasks_api_service; import it from benchmark_types, where it is defined.
  • BenchmarksApiClient.update_benchmark_arena_combinations now returns ApiUpdateBenchmarkArenaCombinationsResponse instead of None.

Changes surfaced by the regen:

  • Add get_benchmark_task_collaborators and update_benchmark_task_collaborators to BenchmarkTasksApiClient, with ApiGetBenchmarkTaskCollaboratorsRequest, ApiUpdateBenchmarkTaskCollaboratorsRequest, ApiBenchmarkTaskCollaborators, ApiBenchmarkTaskCollaborator, ApiBenchmarkTaskPrincipal and the BenchmarkTaskCollaboratorRole enum.
  • Add create_benchmark_metric_producer, batch_schedule_benchmark_metrics and validate_benchmark_metric_producer_output to BenchmarksApiClient, with their request and response types, BenchmarkMetricProducer and BenchmarkMetricProducerInputOptions.
  • Add HarborTaskEnvironment, used by the new BenchmarkTaskKaggleDatasetsDefinition.environment.
  • Add fields to existing types: ApiBenchmarkTask.validation_config, preview_artifact_path and preview_artifact_type (also on ApiUpdateBenchmarkTaskVersionRequest); ApiBenchmarkTaskRun.is_manual; BenchmarkArenaSettings.show_vote_counts, vote_count and votes_task_version_id; BenchmarkSchedulerSettings.kkb_pool_gating_enabled, max_kkb_pool_queued_sessions, unattributed_scheduler_priority and user_session_caps_enforced; dataset_id, dataset_version_id and databundle_version_id on DatasetMount and DefinitionSource.
  • Docs that change what existing fields mean: ApiBenchmarkTask.artifact_path is now the file a benchmark's arena and gallery show (the task preview moves to the new preview_artifact_path); include_definition and definition_partial now also cover validation_config; update_benchmark_arena_combinations skips and returns added combinations that have nothing to show voters.
  • Other docs: NvidiaTeslaP100 drops out of the kernels machine_shape list, and GetBenchmarkSchedulerStatusResponse.model_version_stats documents its new ordering.

No files added or removed. Apart from the moves above, no type, method, field or enum value is removed, and no other signature changes.

Testing:

  • The tree matches kapigen's output at 48eb12ab73a except for the version line; every kagglesdk module imports; uv build --wheel builds kagglesdk-0.1.39.
  • kaggle-cli's unit tests (1,475) pass on both 0.1.38 and 0.1.39 at kaggle-cli main, and four CLI commands print identical output on both.
  • Against a local Kaggle dev server, get_benchmark_task_collaborators on a test task with three users and a group returns exactly those four collaborators with their roles; a missing or hidden task returns 404.

Regenerated with `kapigen --public-api-output-path` (per README) from
kaggleazure ci at 48eb12ab73a (48eb12ab73aa9eb50f3b845f6d486c1f77978036),
run with `dotnet run` and .NET SDK 10.0.100. Only `kagglesdk/` is copied
from the output; `kagglesdk/test/` is kept. `__version__` goes to 0.1.39.

Breaking changes:

- `ApiValidationStage` moves from
  `kagglesdk.benchmarks.types.benchmark_tasks_api_service` to
  `kagglesdk.benchmarks.types.benchmark_types`. Importing it from the old
  module now raises `ImportError`. `ApiTaskCreationValidationConfig` moves
  too, but the old module still imports it, so the old import path works.
- `BenchmarksApiClient.update_benchmark_arena_combinations` now returns
  `ApiUpdateBenchmarkArenaCombinationsResponse` instead of `None`.

Other changes surfaced by the regen:

- Add `get_benchmark_task_collaborators` and
  `update_benchmark_task_collaborators` to `BenchmarkTasksApiClient`, with
  `ApiGetBenchmarkTaskCollaboratorsRequest`,
  `ApiUpdateBenchmarkTaskCollaboratorsRequest`,
  `ApiBenchmarkTaskCollaborators`, `ApiBenchmarkTaskCollaborator`,
  `ApiBenchmarkTaskPrincipal` and the `BenchmarkTaskCollaboratorRole` enum.
- Add `create_benchmark_metric_producer`, `batch_schedule_benchmark_metrics`
  and `validate_benchmark_metric_producer_output` to `BenchmarksApiClient`,
  with their request and response types, `BenchmarkMetricProducer` and
  `BenchmarkMetricProducerInputOptions`.
- Add `HarborTaskEnvironment`, used by the new
  `BenchmarkTaskKaggleDatasetsDefinition.environment`.
- Add fields to existing types: `ApiBenchmarkTask.validation_config`,
  `preview_artifact_path` and `preview_artifact_type` (also on
  `ApiUpdateBenchmarkTaskVersionRequest`); `ApiBenchmarkTaskRun.is_manual`;
  `BenchmarkArenaSettings.show_vote_counts`, `vote_count` and
  `votes_task_version_id`; `BenchmarkSchedulerSettings.kkb_pool_gating_enabled`,
  `max_kkb_pool_queued_sessions`, `unattributed_scheduler_priority` and
  `user_session_caps_enforced`; `dataset_id`, `dataset_version_id` and
  `databundle_version_id` on `DatasetMount` and `DefinitionSource`.
- Docs: `NvidiaTeslaP100` drops out of the kernels `machine_shape` list, and
  `GetBenchmarkSchedulerStatusResponse.model_version_stats` documents its
  new ordering.

No files added or removed. Apart from the two moves above, no type, method,
field or enum value is removed, and no other signature changes.
@yyl yyl closed this Nov 19, 2026
@yyl
yyl deleted the yyl-benchmark-task-collaborators-sdk-cli branch November 19, 2026 18:37
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.

1 participant