fix(12): satisfy CI fast-checks — lint unused vars, typed contract-test body, prettier
CI / changes (pull_request) Successful in 3s
CI / fast-checks (pull_request) Successful in 2m16s
CI / api (pull_request) Failing after 1m37s
CI / harness (pull_request) Failing after 1h3m45s
CI / security (pull_request) Failing after 11s
CI / gate (pull_request) Failing after 1s
CI / changes (pull_request) Successful in 3s
CI / fast-checks (pull_request) Successful in 2m16s
CI / api (pull_request) Failing after 1m37s
CI / harness (pull_request) Failing after 1h3m45s
CI / security (pull_request) Failing after 11s
CI / gate (pull_request) Failing after 1s
- Remove unused 'res'/'container' assignments (no-unused-vars) - setupClient.contract.test.ts: typed parseSentBody helper + non-async json mock (no-unsafe-*/require-await) - Prettier format 7 setup files Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
f485b38324
commit
a193bc8236
@@ -89,15 +89,21 @@ export async function oidcConfigFallbackMiddleware(c: Context, next: Next): Prom
|
||||
// container is already running, the in-process value is stale until restart.
|
||||
// A container restart is required to pick up any changed OIDC config values.
|
||||
if (key === 'oidc_issuer') {
|
||||
console.info('[oidcFallback] Writing OIDC_ISSUER from app_config — container restart required to update this value');
|
||||
console.info(
|
||||
'[oidcFallback] Writing OIDC_ISSUER from app_config — container restart required to update this value',
|
||||
);
|
||||
process.env.OIDC_ISSUER = row.value;
|
||||
}
|
||||
if (key === 'oidc_client_id') {
|
||||
console.info('[oidcFallback] Writing OIDC_CLIENT_ID from app_config — container restart required to update this value');
|
||||
console.info(
|
||||
'[oidcFallback] Writing OIDC_CLIENT_ID from app_config — container restart required to update this value',
|
||||
);
|
||||
process.env.OIDC_CLIENT_ID = row.value;
|
||||
}
|
||||
if (key === 'app_external_url') {
|
||||
console.info('[oidcFallback] Writing OIDC_AUTH_EXTERNAL_URL from app_config — container restart required to update this value');
|
||||
console.info(
|
||||
'[oidcFallback] Writing OIDC_AUTH_EXTERNAL_URL from app_config — container restart required to update this value',
|
||||
);
|
||||
process.env.OIDC_AUTH_EXTERNAL_URL = row.value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user