Problem
kaggle kernels push fails with Kernel push error: Notebook not found when trying to update a benchmark task kernel (created via the Kaggle Benchmarks UI).
Steps to reproduce
- Create a benchmark task at https://www.kaggle.com/benchmarks/tasks/new
- The kernel appears in
kaggle kernels list --user <username> and can be pulled with kaggle kernels pull
- Modify the notebook locally
- Attempt to push:
$ kaggle kernels pull eugenio0/rule-induction -p /tmp/test -m
# Works fine — pulls notebook + metadata
$ kaggle kernels push -p /tmp/test
Kernel push error: Notebook not found
The metadata file is correct (has the right id, code_file, etc.), and the kernel exists and is accessible via list and pull. But push fails.
Expected behavior
kaggle kernels push should work for benchmark task kernels the same way it works for regular kernels, allowing programmatic updates without manual upload through the UI.
Environment
- Kaggle CLI: 2.0.1
- kagglesdk: 0.1.17
- OS: macOS (Darwin 25.1.0)
Additional context
The kagglesdk package already has benchmarks.services.benchmark_tasks_api_service which suggests the API exists — it's just not exposed through the CLI. This would be valuable for CI/CD workflows where benchmark tasks are version-controlled in git and deployed programmatically.
Problem
kaggle kernels pushfails withKernel push error: Notebook not foundwhen trying to update a benchmark task kernel (created via the Kaggle Benchmarks UI).Steps to reproduce
kaggle kernels list --user <username>and can be pulled withkaggle kernels pull$ kaggle kernels pull eugenio0/rule-induction -p /tmp/test -m # Works fine — pulls notebook + metadata $ kaggle kernels push -p /tmp/test Kernel push error: Notebook not foundThe metadata file is correct (has the right
id,code_file, etc.), and the kernel exists and is accessible vialistandpull. Butpushfails.Expected behavior
kaggle kernels pushshould work for benchmark task kernels the same way it works for regular kernels, allowing programmatic updates without manual upload through the UI.Environment
Additional context
The
kagglesdkpackage already hasbenchmarks.services.benchmark_tasks_api_servicewhich suggests the API exists — it's just not exposed through the CLI. This would be valuable for CI/CD workflows where benchmark tasks are version-controlled in git and deployed programmatically.