Skip to content

add make smoke-build-local - #252

Merged
thushan merged 2 commits into
mainfrom
chore/smoke-build-local
Oct 27, 2026
Merged

thushan merged 2 commits into
mainfrom
chore/smoke-build-local

Conversation

@thushan

@thushan thushan commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Summary

make build-local broke once because goreleaser's --output pointed at the build/ directory its before-hooks create (the #239 regression), and nothing checked it from a clean or already-populated build/.

make smoke-build-local runs scripts/smoke-build-local.sh, which runs build-local from a pristine build/ and again over one holding junk, then checks build/olla runs and build/docker-config.yaml is staged. It needs goreleaser, bun and go. It is not wired into CI or make ready because it is slow.

It deletes ./build, so it refuses to run without OLLA_SMOKE_OK=1 and belongs in a scratch worktree. make build-local also runs goreleaser --clean, which clears ./dist, as it always has. The script unsets CDPATH so the cd cannot land in another tree and delete the wrong build/.

Type of change

  • Build / tooling
  • Documentation

How was this tested?

OLLA_SMOKE_OK=1 make smoke-build-local is the test; this PR adds no Go tests.

Tested together with the other October follow-up branches on a local integration branch at 0c25e0a:

  • make ready and make test-race pass at 0c25e0a
  • /olla-validate --quick: 42 pass, 0 fail (warnings and skips are nightly-only items)
  • tei-routing validation area: Section A 12/12, Section B B1 to B6 pass
  • /test-sticky-sessions: no new failures (the 7 provider-route 404s are the known shared-mock-URL limitation)
  • /claude-code-e2e against real Ollama: Tier A 16/0 on both the passthrough and translation legs, same as main
  • curl checks per feature against real Ollama and ollamock; log scan shows no panics, races or per-request WARN floods

Checklist

  • make ready passes at 2d7a254
  • Tests added: not applicable, the script is the check
  • Documentation updated: docs/content/development/setup.md
  • No new dependencies added

@coderabbitai

coderabbitai Bot commented Oct 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between e8ef6af and 2d7a254.

Files selected for processing: 3
  • docs/content/development/setup.md
  • makefile
  • scripts/smoke-build-local.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thushan
thushan merged commit da750eb into main Oct 27, 2026
6 checks passed
@thushan
thushan deleted the chore/smoke-build-local branch October 27, 2026 21:49
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