Skip to content

sync: update to latest upstream and preserve LangBot contracts - #3

Merged
dadachann merged 2 commits into
mainfrom
feat/sync-upstream-20260726
Jul 26, 2026
Merged

sync: update to latest upstream and preserve LangBot contracts#3
dadachann merged 2 commits into
mainfrom
feat/sync-upstream-20260726

Conversation

@dadachann

Copy link
Copy Markdown
Contributor

Summary

  • replace the stale fork snapshot with current QuantumNous/new-api upstream
  • preserve LangBot Space model metadata and /api/pricing fields
  • preserve AdminAuth-protected cross-user token management without weakening normal token masking
  • preserve long email credential compatibility and atomic non-negative quota accounting
  • add deploy/prod-only GHCR production image workflow

Validation

  • go test ./controller ./router passes on Go 1.25.1
  • focused admin-token tests pass
  • focused LangBot model tests pass individually; the upstream model package has shared-global SQLite tests and is not safe as a single parallel package run
  • backend compilation succeeds; repository-wide go build ./... requires generated web/dist, supplied by Dockerfile frontend build

Rollout

After merge, create/update deploy/prod from main; production image is ghcr.io/langbot-app/langbot-new-api:prod-amd64.

@dadachann
dadachann merged commit 2e7142a into main Jul 26, 2026
1 check passed
@dadachann
dadachann deleted the feat/sync-upstream-20260726 branch July 26, 2026 06:52
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