Remove redundant enterprise provider metadata

Drop source.provider/providerName, cached enterprise.provider, onboarding writes, CLI outputs, and the search index entry; legacy configs and token caches still parse. Add a compatibility test for stripping the old keys.
This commit is contained in:
gitea committed 2026-11-19 15:48:59 +08:00
1 parent 8adae54c54
commit 8d6b65d3d5
22 files changed
+113 -47

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ function recoveryFixture(sourceType: "hose" | "seal", alwaysUnauthorized = false
});
setSealSession(id, {
token: "stale-token", expiresAt: Date.now() + 3600000,
enterprise: { provider: sourceType, staffId: "fixture-staff", sealUrl: "https://fixture.invalid" }
enterprise: { staffId: "fixture-staff", sealUrl: "https://fixture.invalid" }
});
const requests: Array<{ method: string; token: string | null }> = [];
let refreshes = 0;