mirror of
https://github.com/iflytek/skillhub.git
synced 2026-09-24 00:55:35 +00:00
.env.release.example advertised OAUTH2_FEISHU_* knobs that no deployment path could actually deliver. compose.release.yml has no env_file, so every variable must be listed explicitly, and the Helm chart and k8s base only mapped the GitHub secret keys. Setting the documented variables therefore did nothing. Adds Feishu to compose.release.yml, the Helm secret template and values, the k8s deployment and its secret example. GitLab had the identical gap, so it is wired at the same time rather than leaving the example file half true. validate-release-config.sh only checked that GitHub's id and secret appear together. A half-configured provider renders a login button whose exchange then fails, so the check now loops over all three providers. Its test gained both-directions cases per provider plus a fully configured pass; reverting the loop to GitHub-only makes them fail. Also adds the provider's only failure log. Nothing downstream records a Feishu userinfo failure -- OAuth2LoginFailureHandler does not log either -- so the previous code was silent on error. Logs the exception class and Feishu's own error code, never the upstream msg, which can quote the access token; a test asserts the code is present and the token is not. Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| build-builtin-skills-test.sh | ||
| dev-process-test.sh | ||
| dev-web-host-test.sh | ||
| k8s-postgres-storage-test.sh | ||
| nginx-forwarded-proto-test.sh | ||
| publish-cli-test.sh | ||
| runtime-secret-test.sh | ||
| scanner-llm-base-url-test.sh | ||
| server-image-compat-test.sh | ||
| smoke-test-admin-mode-test.sh | ||
| test_zero_slop.py | ||
| validate-release-config-test.sh | ||
| web-base-path-nginx-smoke-test.sh | ||
| web-base-path-routing-test.sh | ||
| workflow-security-test.sh | ||