feat: unified URL resolution with 5-level fallback chain and multi-tenant subdomain support#336
feat: unified URL resolution with 5-level fallback chain and multi-tenant subdomain support#336nap-liu wants to merge 1 commit intodataelement:mainfrom
Conversation
c6ab20e to
a357f7a
Compare
…nant subdomain support Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
a357f7a to
b749c8e
Compare
|
Pushed an update addressing all three blockers from the bundle review. 1. Alembic dual-head — 2. 3. Fallback risk — dropped both the wildcard slug match (
Also restored the Net diff vs upstream: +306 / -24 (down from +319 / -67), mostly additive now. HEAD: b749c8e |
Summary
domain.py:resolve_base_url()with 5-level fallback (tenant sso_domain → subdomain_prefix → DB setting → ENV → request)platform_service.py: added DB system_settings lookupsubdomain_prefixandis_defaultfields + alembic migrationscheck-prefix, enhancedresolve-by-domainwith default tenant fallbackTest plan