ci: expand shared package validation and test coverage
Lint / Lint (push) Successful in 32s
Docker / Docker Build & Push (push) Failing after 2m22s
Tests / Go backend (push) Failing after 1m2s
Tests / Dashboard checks (push) Failing after 35s

- Add lint, formatting, vet, and publish workflow checks
- Run Go database tests with PostgreSQL and add Java tests
- Make consumer sync opt-in; update docs and Go dependency
This commit is contained in:
Gabriel20xx committed 2026-10-19 21:46:52 +00:00
1 parent 937f51b4fb
commit 0ff94f9b10
107 files changed
+10124 -410

No files matched your search

@@ -11,8 +11,13 @@ from .auth import (
can_assign_role,
can_manage_users,
hash_password,
hash_password_async,
normalize_role,
password_hash_needs_upgrade,
verify_and_upgrade_password,
verify_and_upgrade_password_async,
verify_password,
verify_password_async,
)
from .authclient import (
AuthClient,
@@ -25,6 +30,7 @@ from .authclient import (
from .config import DatabaseConfig, database_url_from_env
from .coreconfig import Info as CoreConfigInfo
from .coreconfig import Store as CoreConfigStore
from .coreconfig import internal_secret_matches
from .postgres import Database
from .tokens import hash_token, new_session_token
from .totp import generate_totp_secret, totp_provisioning_uri, verify_totp
@@ -40,6 +46,7 @@ __all__ = [
"token_from_request",
"CoreConfigInfo",
"CoreConfigStore",
"internal_secret_matches",
"ROLE_ADMIN",
"ROLE_SUPERADMIN",
"ROLE_USER",
@@ -52,10 +59,15 @@ __all__ = [
"database_url_from_env",
"generate_totp_secret",
"hash_password",
"hash_password_async",
"hash_token",
"new_session_token",
"normalize_role",
"password_hash_needs_upgrade",
"totp_provisioning_uri",
"verify_and_upgrade_password",
"verify_and_upgrade_password_async",
"verify_password",
"verify_password_async",
"verify_totp",
]