Skip to content

fix: production type error on Git clone URL#1180

Merged
fricklerhandwerk merged 1 commit into
NixOS:mainfrom
fricklerhandwerk:fix-type-error
Jul 10, 2026
Merged

fix: production type error on Git clone URL#1180
fricklerhandwerk merged 1 commit into
NixOS:mainfrom
fricklerhandwerk:fix-type-error

Conversation

@fricklerhandwerk

@fricklerhandwerk fricklerhandwerk commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

That type mismatch is currently not caught in tests.
Tests set that URL, which takes the USER_SETTINGS_FILE code path.
That's a deprecated way for configuring the service, which bypasses the Pydantic parser and takes the value as str.
Production uses the implicit default, which is taken as HttpUrl from Pydantic.

The underlying problem is fixed in #1166, but that takes a bit more care.

That type mismatch is currently not caught in tests.
Tests set that URL, which takes the `USER_SETTINGS_FILE` code path.
That's a deprecated way for configuring the service, which bypasses the Pydantic parser and takes the value as `str`.
Production uses the implicit default, which is taken as `HttpUrl` from Pydantic.
@fricklerhandwerk fricklerhandwerk added this pull request to the merge queue Jul 10, 2026
Merged via the queue into NixOS:main with commit c271bdb Jul 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant