Repository navigation
Conversation
Bumps alpine from 3.24.3 to 3.24.4. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.24.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the compose-images group in /deploy with 2 updates: timescale/timescaledb and grafana/grafana. Updates `timescale/timescaledb` from 2.31.0-pg18 to 2.32.0-pg18 Updates `grafana/grafana` from 13.3.0 to 13.3.1 --- updated-dependencies: - dependency-name: timescale/timescaledb dependency-version: 2.32.0-pg18 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: compose-images - dependency-name: grafana/grafana dependency-version: 13.3.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: compose-images ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps alpine from 3.24.3 to 3.24.4. --- updated-dependencies: - dependency-name: alpine dependency-version: 3.24.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the frontend-minor-patch group in /frontend with 13 updates: | Package | From | To | | --- | --- | --- | | [@clerk/react](https://github.com/clerk/javascript/tree/HEAD/packages/react) | `6.18.6` | `6.18.7` | | [@clerk/ui](https://github.com/clerk/javascript/tree/HEAD/packages/ui) | `1.42.4` | `1.42.5` | | [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) | `5.106.1` | `5.107.1` | | [isbot](https://github.com/omrilotan/isbot) | `5.2.2` | `5.2.3` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.69.0` | `1.72.0` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `8.1.0` | `8.1.2` | | [@rolldown/plugin-babel](https://github.com/rolldown/plugins/tree/HEAD/packages/babel) | `0.3.0` | `0.3.1` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.4` | `4.3.5` | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.2.1` | `6.3.0` | | [prettier](https://github.com/prettier/prettier) | `3.9.10` | `3.10.1` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.4` | `4.3.5` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.1` | `8.72.2` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.6` | `8.3.8` | Updates `@clerk/react` from 6.18.6 to 6.18.7 - [Release notes](https://github.com/clerk/javascript/releases) - [Changelog](https://github.com/clerk/javascript/blob/main/packages/react/CHANGELOG.md) - [Commits](https://github.com/clerk/javascript/commits/@clerk/react@6.18.7/packages/react) Updates `@clerk/ui` from 1.42.4 to 1.42.5 - [Release notes](https://github.com/clerk/javascript/releases) - [Changelog](https://github.com/clerk/javascript/blob/main/packages/ui/CHANGELOG.md) - [Commits](https://github.com/clerk/javascript/commits/@clerk/ui@1.42.5/packages/ui) Updates `@tanstack/react-query` from 5.106.1 to 5.107.1 - [Release notes](https://github.com/TanStack/query/releases) - [Changelog](https://github.com/TanStack/query/blob/main/packages/react-query/CHANGELOG.md) - [Commits](https://github.com/TanStack/query/commits/@tanstack/react-query@5.107.1/packages/react-query) Updates `isbot` from 5.2.2 to 5.2.3 - [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md) - [Commits](omrilotan/isbot@v5.2.2...v5.2.3) Updates `lucide-react` from 1.69.0 to 1.72.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.72.0/packages/lucide-react) Updates `@babel/core` from 8.1.0 to 8.1.2 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v8.1.2/packages/babel-core) Updates `@rolldown/plugin-babel` from 0.3.0 to 0.3.1 - [Release notes](https://github.com/rolldown/plugins/releases) - [Changelog](https://github.com/rolldown/plugins/blob/main/packages/babel/CHANGELOG.md) - [Commits](https://github.com/rolldown/plugins/commits/plugin-babel@0.3.1/packages/babel) Updates `@tailwindcss/vite` from 4.3.4 to 4.3.5 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.5/packages/@tailwindcss-vite) Updates `@vitejs/plugin-react` from 6.2.1 to 6.3.0 - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.3.0/packages/plugin-react) Updates `prettier` from 3.9.10 to 3.10.1 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.9.10...3.10.1) Updates `tailwindcss` from 4.3.4 to 4.3.5 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.5/packages/tailwindcss) Updates `typescript-eslint` from 8.72.1 to 8.72.2 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.2/packages/typescript-eslint) Updates `vite` from 8.3.6 to 8.3.8 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.8/packages/vite) --- updated-dependencies: - dependency-name: "@clerk/react" dependency-version: 6.18.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: "@clerk/ui" dependency-version: 1.42.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: "@tanstack/react-query" dependency-version: 5.107.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: frontend-minor-patch - dependency-name: isbot dependency-version: 5.2.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: lucide-react dependency-version: 1.72.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: frontend-minor-patch - dependency-name: "@babel/core" dependency-version: 8.1.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: "@rolldown/plugin-babel" dependency-version: 0.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: "@vitejs/plugin-react" dependency-version: 6.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-minor-patch - dependency-name: prettier dependency-version: 3.10.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: frontend-minor-patch - dependency-name: tailwindcss dependency-version: 4.3.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: typescript-eslint dependency-version: 8.72.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch - dependency-name: vite dependency-version: 8.3.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: frontend-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ntend-minor-patch-cc961d15b0 chore(deps): bump the frontend-minor-patch group in /frontend with 13 updates
…pi/dev/alpine-3.24.4 chore(deps): bump alpine from 3.24.3 to 3.24.4 in /deploy/rest-api
…/dev/alpine-3.24.4 chore(deps): bump alpine from 3.24.3 to 3.24.4 in /deploy/worker
…y/dev/compose-images-e7b2fa91df chore(deps): bump the compose-images group in /deploy with 2 updates
Enhance sender task structure and improve task management
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and refactorings across the backend, focusing on PostgreSQL connection pool configurability, code modernization, and minor bug fixes. The most significant changes are the introduction of a configurable PostgreSQL connection pool, adoption of more concise Rust syntax, and enhancements to code clarity and test organization.
Database configuration and ergonomics:
PgPoolConfigstruct inpostgres.rs, allowing fine-grained control of PostgreSQL connection pool parameters via environment variables, with presets for API and worker use-cases. Updated repository initialization to use this configuration, and documented the new environment variables in.env.example. ([[1]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-46eb215b827b58c2dca6c0215c910f3e1e34d6da3a0bf7a92bf567a57987bb6fL16-R158),[[2]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-46eb215b827b58c2dca6c0215c910f3e1e34d6da3a0bf7a92bf567a57987bb6fR169-R185),[[3]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-e9a8e7a2630720ab0c2d79e754e34e8a4298777feeb69df2e4bf8322fc7bbe9dR3-R8),[[4]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-2d7afa57cd8a5b308e9974aa8c48235b4246cbd7c470c274369b3a1ed08bd721L21-R21),[[5]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-2d7afa57cd8a5b308e9974aa8c48235b4246cbd7c470c274369b3a1ed08bd721L54-R56))Code modernization and conciseness:
duplicate_detection.rs,get_icon.rs,account_checker.rs, andcache.rs. ([[1]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-da909813f4a9002d62abd0aa2883554c2cfa40634bb007cffcd0af5b34e76fbaL208-L247),[[2]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-6fc865c8bfd6ec7c5f186cf219668282275b6fe3c63a6eebf81a4e7f1225c565R24-L25),[[3]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-4cf94b42294b15de4dfbd6c4c0108a717492062b61b56fcae3dc544ecbdca699L183-L187),[[4]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-758c91bbfa86215950de7a4d4f660b8b4d80909b0b0a4f4a22b0376b081ae289L37-L51))&[T]) over references toVec<T>, improving API ergonomics in the repository trait and implementation. ([[1]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-65309160936c8100b25422230b386e5423926e6ff3ee5678e76c5775ecce7c73L18-R18),[[2]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-46eb215b827b58c2dca6c0215c910f3e1e34d6da3a0bf7a92bf567a57987bb6fL50-R201),[[3]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-46eb215b827b58c2dca6c0215c910f3e1e34d6da3a0bf7a92bf567a57987bb6fL61-R212))Testing and code organization:
error.rsto the end of the file for better organization, with no change to test logic. ([[1]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-ed129d15399df47d91a647fdc1b8a0257a0cdd9f0c54f8bdc543384135774032L88-L108),[[2]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-ed129d15399df47d91a647fdc1b8a0257a0cdd9f0c54f8bdc543384135774032R136-R156))CI and workflow improvements:
cargo fmt,cargo clippy). ([.github/workflows/ci.ymlR36-R65](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fR36-R65))Miscellaneous fixes:
.into()calls, correcting cache usage, and suppressing clippy warnings for functions with many arguments. ([[1]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-2d7afa57cd8a5b308e9974aa8c48235b4246cbd7c470c274369b3a1ed08bd721L63-R65),[[2]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-2d7afa57cd8a5b308e9974aa8c48235b4246cbd7c470c274369b3a1ed08bd721L80-R87),[[3]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-522a5296124462e42be9c0afe3306c936fd7ab34d49417eca3b1237c94715e4aL14-R14),[[4]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-73824bc2f5aefa283d0f1ab4eb735df1031d9871fb7d5be90de3a5d376c9c0faR17),[[5]](https://github.com/Flash303/minecraft-stats/pull/164/files#diff-758c91bbfa86215950de7a4d4f660b8b4d80909b0b0a4f4a22b0376b081ae289R16-R25))These changes collectively improve configurability, code readability, and maintainability across the backend.