Skip to content

fix(push): upgrade prompt for 402 after project auto-create; v6 plan copy - #33

Merged
babaliauskas merged 3 commits into
mainfrom
feat/v6-pricing
Oct 4, 2026
Merged

babaliauskas merged 3 commits into
mainfrom
feat/v6-pricing

Conversation

@babaliauskas

Copy link
Copy Markdown
Collaborator

Summary

Aligns the CLI with hosted EvalShift's v6 pricing (30-day Pro trial, then Pro per organization; Free and Team plans are gone).

Fixed

  • evalshift push printed a traceback instead of the upgrade prompt when the server answered HTTP 402 right after auto-creating the project (monthly run limit, concurrent-run limit, or a lapsed subscription). It now prints the server's message and the billing link, then exits 1.
  • A 402 during project auto-create, which is what an organization with an ended trial gets, now shows the same upgrade prompt. Before, it showed an access-permission hint.
  • A connection failure during project auto-create now raises PushError (error printed, exit 1) instead of a traceback.

Changed

  • DOCS.md, llms-full.txt, docs/hosted.md, docs/github-action.md and the init --ci workflow comment now describe the current plans. Local runs stay free and unlimited.
  • New test_docs_currency.py guards against stale plan names coming back into the docs.

Chore

  • Synced the vendored bundle_manifest.schema.json with the server export (evalshift-server 001669c, already on server main). Only two description strings changed; the contract is the same.

Test plan

  • make ci: ruff check, ruff format --check, mypy --strict, pytest (2460 passed, 94.47% coverage)
  • pre-commit run --all-files: all hooks pass
  • make check-schema: CLI schema matches the server export
  • New tests in tests/unit/test_hosted_cli.py cover the 402 path after auto-create, the 402 during auto-create, and network errors during auto-create

🤖 Generated with Claude Code

babaliauskas and others added 3 commits October 4, 2026 00:36
…ate; v6 plan copy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…h 402 path correctly

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server reworded the GuardrailEvent and RetrievalEvent descriptions
(evalshift-server 001669c, now on main). Description text only; the
contract is unchanged. Restores test_the_vendored_schema_matches_the_server_export.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@babaliauskas
babaliauskas merged commit 316fb84 into main Oct 4, 2026
4 checks passed
@babaliauskas babaliauskas mentioned this pull request Oct 4, 2026
2 tasks done
@babaliauskas
babaliauskas deleted the feat/v6-pricing branch October 6, 2026 12:09
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