Repository navigation
Merge feat/3.1.0 into release: per-tenant model sharing and settings snapshot (F005) - #2881
Merged
Merged
Conversation
Importing images or videos from FTP / SFTP / S3 saves the dataset version and its catalog row together, then returns the version after the session closes. MySQL has no INSERT ... RETURNING, so the version's server-generated timestamps were still unloaded and reading them failed with "not bound to a Session" (HTTP 500 on 116). Refresh the version in the same session, and make the repository test behave like MySQL so it covers this.
…and child model snapshot Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005 T010/T011: model default resolution no longer falls back to Root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005 T012/T013. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005 T020-T027.
- Save a provider's share list as the exact set of active children.
Inactive receivers keep their share. The sharing intent records
whether the list is non-empty.
- After each sharing save, remove the provider's models from the
settings of every active child that lost it. Do not fill the slots.
- Add POST /api/v1/llm/{id}/sharing-preview. It reports the settings
slots that a save clears and the sources that reference the
provider, per removed child.
- Mount shares only the providers the admin selects, then copies
Root's settings to the child. A retry finishes the missing shares
and copies only the keys the child does not have.
- Remove the sharing-status endpoint, the restore-inheritance
endpoint, the inheritance impact, and the share reconcile on
tenant activation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nants F005 T028/T029. Preview by default; --apply copies only the settings keys a child has not configured. The report lists the empty slots per tenant. Add the upgrade guide and the scripts README entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005. Add GET /api/v1/llm?root_only=true (global super admin only). A share list may also keep a receiver that was disabled after the form was opened; the provider lock now checks the selection. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005 T030-T034. - Replace the share switch with a child tenant list on the provider page. - Before a save removes child tenants, show what they lose and ask the admin to confirm. - Let the mount dialog pick Root providers, and warn about empty system model settings of the new tenant. - Remove the sharing coverage, inheritance diagnostics and inheritance badges, and change the scope banner copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
F005 T040. Update the multi-tenant architecture doc and the customer guide, and record in F025 which acceptance criteria F005 replaces. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…resh fix(finetune): load the saved version before returning a remote import Refresh the dataset version before closing the session so remote image/video imports can serialize server-generated timestamps on MySQL. Cover the missing INSERT RETURNING behavior in the catalog regression test. Validation: 319 finetune tests passed; the regression was reproduced on feat/3.1.0 before the fix.
jieyuhuayang
added a commit
that referenced
this pull request
Dec 3, 2026
…#2882) Regenerated `requestScopeRoutes.json` after F005 changed the LLM routes (tenant-context-quality failed on #2881). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Merge feat/3.1.0 into release. The new changes are F005 and the recent fixes on 3.1.
F005 (features/v3.1.0/005-tenant-model-share-snapshot):
Upgrade: run
scripts/snapshot_child_model_defaults.py --operator-user-id <root super admin> --applyonce. See features/v3.1.0/005-tenant-model-share-snapshot/upgrade.md.🤖 Generated with Claude Code