optio icon indicating copy to clipboard operation
optio copied to clipboard

fix: publicApiUrl deployment configuration and optimize auth provider tests

Open 5rk7n opened this issue 6 months ago • 0 comments

Summary

This fix addresses an issue where the PUBLIC_API_URL service was missing its default process or environment variable configuration during deployment. It ensures that the publicApiUrl is properly configured, utilized across the API, and thoroughly covered by unit and integration tests.

Changes

  • Fixed the missing publicApiUrl deployment variable to ensure the service initializes correctly.
  • Updated the API to correctly utilize the publicApiUrl variable.
  • Testing & Quality Assurance:
    • Added dedicated unit tests for provider auth: getCallbackUrl.
    • Added test case specifically to github google oidc targeting getCallbackUrl.
    • Optimized multiple provider tests using describe.each for better maintainability and cleaner execution.

Testing

  • [x] Tests pass (pnpm turbo test)
  • [x] Typechecks pass (pnpm turbo typecheck)
  • [x] Helm pass (helm lint)

Related

Closes #

Screenshots

5rk7n avatar May 30 '26 12:05 5rk7n