Repository navigation
ci: add a Live Tests job, starting with notes against Ollama Cloud - #697
Merged
Merged
Conversation
Contributor
|
Standing release PR: #614 · v0.42.0 queued (4 packages) · open 82d 8h 7m · ✅ ready to merge Release Preview — v0.41.2 → v0.41.3
These changes will be added to the release PR (#614) when merged: Changelogmonorepo 0.41.2 → 0.41.3
After merge — predicted release
Updated automatically by ReleaseKit |
Add a Notes LLM (live Ollama) job to CI that runs ollama-live.spec.ts against Ollama Cloud (minimax-m2.7:cloud, the model this repo's own release notes use) when packages/notes or the job's workflow changes. It feeds CI Status, so a failure blocks and a skip passes; the spec itself skips with a warning on an Ollama outage. Forks and Dependabot get no secrets, and the standing release PR only bumps versions, so the job skips for all three. Pushes skip too: the PR already ran it. Closes #589 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
goosewobbler
force-pushed
the
ci/589-notes-llm-e2e
branch
from
October 23, 2026 01:02
885042a to
3007a48
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 20 tasks
Tests that hit a live external service share what sets them apart (a secret, a paid call, skip-on-outage), whatever package they're in. Rename the job, its workflow and the detect-changes output to match, and name the notes run as one step. Another live suite adds a step and its package paths to the live filter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Skip it outside goosewobbler/releasekit, so a fork's own CI doesn't run it without the secret. - Count live changes in has_changes, so a live suite in an otherwise unfiltered package still gets a build. - Narrow the notes paths to src, package.json and the spec, so docs edits don't make paid calls. - AGENTS.md: a new live suite's secret must be declared and passed in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 of 20 tasks
…Live Tests - Read the model and base URL from releasekit.config.json instead of repo variables, so the live test checks exactly what releases use, and a config change triggers it. - Run it for Dependabot too (needs OLLAMA_API_KEY as a Dependabot secret), so SDK bumps get a live run. - Add ci.yml and detect-changes to the live filter, so a broken guard or secret mapping shows up in the PR that breaks it. - Gate build on run_live as well, instead of counting live changes in has_changes, so a live-only change doesn't run the whole matrix. - OLLAMA_API_KEY isn't required, matching the other reusable workflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 23, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Second half of #589: CI now runs tests against live external services, starting with the notes suite against Ollama Cloud (
ollama-live.spec.ts). #618 made that spec tolerant of provider outages; this adds the job.A generic Live Tests job. What sets these tests apart is the same in any package: they need a secret, make paid calls, and skip on an outage. So the job is
live-tests("Live Tests",_ci-live.reusable.yml) and each suite is one step, today "Notes against live Ollama". Adding another suite means a step with its own env/secrets, plus its package paths in thelivefilter;AGENTS.mdnow says what a live test is and how CI runs it.run_liveoutput from Detect Changes, covering notes'src/,package.jsonand the spec,releasekit.config.json, and the CI workflows that wire the job up. Docs edits don't make paid calls;force_allstill sets it. The build also runs onrun_live, so a live-only change gets a build without running the rest of the matrix. Every live step runs whenever any live path changes, which is simpler than per-step gating while there's one suite.goosewobbler/releasekit, no secrets), the standing release PR (release/next, version bumps only), and pushes (the PR already ran it). Dependabot runs it, so notes' SDK bumps get a live check; that needsOLLAMA_API_KEYas a Dependabot secret.CI Status, so a failure blocks and a skip passes. The spec itself skips with a "notes LLM live test skipped" warning on an Ollama outage.pnpm --filter @releasekit/notes test ollama-live(not turbo: its strict env mode strips the gate variable) withRELEASEKIT_NOTES_LIVE=1and theOLLAMA_API_KEYsecret. The model and base URL come fromreleasekit.config.json's release-notes settings, so it tests exactly what releases use, and a config change triggers it. A missing key fails the step. If a new model is slower than the spec's 45s per-call timeout, the spec skips with the warning instead of failing, so watch for it after a change. Permissions:contents: read.Related Issue(s)
Closes #589
Type of Change
feat— New featurefix— Bug fixdocs— Documentation changerefactor— Code refactoringtest— Adding or updating testschore— Maintenance, dependencies, toolingScope
@releasekit/version@releasekit/notes@releasekit/publish@releasekit/release@releasekit/config@releasekit/coreChecklist
pnpm lint)pnpm test)pnpm typecheck)Testing Notes
minimax-m2.7:cloud(chunk test 40.2s, text test 18.0s), thenminimax-m3.1-flash:cloud(13.9s, 4.0s).https://ollama.comwith a bogus key, both tests fail on a non-retryable 401: the URL is right, the key is sent, and a bad secret fails rather than skips.🤖 Generated with Claude Code