Live smoke against a real Kaggle account #2

Closed
opened 2026-11-11 22:12:03 +00:00 by dsh · 2 comments
Owner

Why

0.1.0 is tested offline against test/fake-kaggle.mjs; no real Kaggle call has been made because this box has no Kaggle credential. Before relying on the plugin in LinA / tardits / hijack, run the read-only smoke and confirm the documented CLI grammar on a live account.

Work

  • Provide a Kaggle credential (operator): kaggle auth login once, or store a KGAT token under the DSH credential ref KAGGLE_API_TOKEN.
  • KAGGLE_LIVE_SMOKE=1 node scripts/smoke-live.mjs (read-only: version, datasets list, quota).
  • Confirm kaggle_plugin_info auth sources and kaggle_datasets_list parsing on live output.
  • Optional read-only download smoke into a scratch workspace; verify the manifest and .kaggle-partial filtering.
  • Record the observed CLI version and any parser mismatch in docs/kaggle-cli.md.

Acceptance

  • Smoke passes and the observed CLI version is inside the advertised range.
  • Any mismatch is fixed or filed separately; no write/submit is performed.
## Why 0.1.0 is tested offline against `test/fake-kaggle.mjs`; no real Kaggle call has been made because this box has no Kaggle credential. Before relying on the plugin in `LinA` / `tardits` / `hijack`, run the read-only smoke and confirm the documented CLI grammar on a live account. ## Work - [ ] Provide a Kaggle credential (operator): `kaggle auth login` once, or store a KGAT token under the DSH credential ref `KAGGLE_API_TOKEN`. - [ ] `KAGGLE_LIVE_SMOKE=1 node scripts/smoke-live.mjs` (read-only: version, datasets list, quota). - [ ] Confirm `kaggle_plugin_info` auth sources and `kaggle_datasets_list` parsing on live output. - [ ] Optional read-only download smoke into a scratch workspace; verify the manifest and `.kaggle-partial` filtering. - [ ] Record the observed CLI version and any parser mismatch in `docs/kaggle-cli.md`. ## Acceptance - Smoke passes and the observed CLI version is inside the advertised range. - Any mismatch is fixed or filed separately; no write/submit is performed.
Author
Owner

Saturday plan (2026-11-14, quota refill): a reminder is scheduled in the dsh-kaggle session for 10:00 Europe/Vienna.

Smoke order: CLI + credential check, KAGGLE_LIVE_SMOKE=1 node scripts/smoke-live.mjs, then short read-only runs (search, dataset files/download into a scratch dir, competition pages/leaderboard, one notebook pull/status/logs). No submissions or publishes unless the operator asks. Any live grammar mismatch goes back into docs/kaggle-cli.md; close this issue when the smoke passes.

Saturday plan (2026-11-14, quota refill): a reminder is scheduled in the dsh-kaggle session for 10:00 Europe/Vienna. Smoke order: CLI + credential check, `KAGGLE_LIVE_SMOKE=1 node scripts/smoke-live.mjs`, then short read-only runs (search, dataset files/download into a scratch dir, competition pages/leaderboard, one notebook pull/status/logs). No submissions or publishes unless the operator asks. Any live grammar mismatch goes back into `docs/kaggle-cli.md`; close this issue when the smoke passes.
Author
Owner

Live smoke passed — 2026-11-15

Setup: Kaggle CLI 2.2.5 installed with uv tool (~/.local/bin/kaggle), signed in with OAuth (~/.kaggle/credentials.json); no API key needed.

Results

  • scripts/smoke-live.mjs: all probes passed (version, authenticated datasets list, quota).
  • New scripts/smoke-tools-live.mjs: 20/20 checks passed against the real account — info, search, datasets list/files/download (83,879 bytes, unzipped, manifest matched), competitions list/files/pages/leaderboard, notebooks list/pull/status/files, models list/get, forums list/topics, quota, MCP status. No writes, no submissions.
  • Live mismatches found and fixed in 0.1.1: competitions pages -c, KernelWorkerStatus. prefix, models get exit-after-write bug.
  • Documented live behavior in docs/kaggle-cli.md (advisory --page-size, dataset size, quota array, human-readable kernel dates).

Follow-ups

  • The running web Host still has pre-0.1.1 code and a PATH without ~/.local/bin; restart the profile to pick up 0.1.1 and the CLI-location fallback. After that kaggle_plugin_info should report 2.2.5 and live tools should work.
  • MCP remains fake-client tested (adapter disabled, no KGAT token); that is #3 territory.

Closing.

## Live smoke passed — 2026-11-15 Setup: Kaggle CLI **2.2.5** installed with `uv tool` (`~/.local/bin/kaggle`), signed in with OAuth (`~/.kaggle/credentials.json`); no API key needed. ### Results - `scripts/smoke-live.mjs`: all probes passed (version, authenticated datasets list, quota). - New `scripts/smoke-tools-live.mjs`: **20/20 checks passed** against the real account — info, search, datasets list/files/download (83,879 bytes, unzipped, manifest matched), competitions list/files/pages/leaderboard, notebooks list/pull/status/files, models list/get, forums list/topics, quota, MCP status. No writes, no submissions. - Live mismatches found and fixed in **0.1.1**: `competitions pages -c`, `KernelWorkerStatus.` prefix, `models get` exit-after-write bug. - Documented live behavior in `docs/kaggle-cli.md` (advisory `--page-size`, dataset `size`, quota array, human-readable kernel dates). ### Follow-ups - The running `web` Host still has pre-0.1.1 code and a PATH without `~/.local/bin`; restart the profile to pick up 0.1.1 and the CLI-location fallback. After that `kaggle_plugin_info` should report 2.2.5 and live tools should work. - MCP remains fake-client tested (adapter disabled, no KGAT token); that is #3 territory. Closing.
dsh closed this issue 2026-11-14 23:40:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
dsh-plugins/dsh-kaggle#2
No description provided.