• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

matzefriedrich / containerssh-authserver / 30135368833
33%

Build:
DEFAULT BRANCH: main
Ran 25 Jul 2026 12:04AM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jul 2026 12:03AM UTC coverage: 32.55% (+4.8%) from 27.76%
30135368833

push

github

web-flow
feat: Implement PostgreSQL backend (#65)

* Bump GolangCI-Lint to v2.12.2 and Parsley CLI to v1.5.1 in Makefile
* Adds a new user-profile service implementation for Postgres.
* Adds Postgres backend configuration to authserver
* Adds support for static backend validation and implements `Key()` in UserProfileService
* Adds validation for Postgres backend configuration and removes tableName dependency in PostgresUserProfileService
* Introduces `UserProfileIntegrationService` to unify backend implementations and refactor tests accordingly
* Adds `RegisterUser` support to user profile backends and updates integration tests
* Introduces `authserver-autosetup` app
* Adds `postgres` and `postgres-seed` services to `docker-compose.yml` and extends build process for `authserver-autosetup`
* Extends Makefile to build `authserver-autosetup` binary and adjust clean target
* Adds `config.yaml` for local testing
* Refactors `PgxPool` usage by introducing an interface to decouple dependencies and updates related services and tests accordingly
* Refactors `types` package structure and updates services to use updated interfaces; adds context support to UserProfile methods
* Upgrades `github.com/matzefriedrich/parsley` to v1.6.0 in `go.mod` and `go.sum`.
* Adds `http.StatusOK` response code to all hook handlers for consistency
* Updates `user_profiles` schema to use `VARCHAR` with length constraints; adjusts related queries and tests
* Improves `pgxpool` initialization with connection verification and adds health checks with `depends_on: service_healthy` for `docker-compose` services

179 of 376 new or added lines in 17 files covered. (47.61%)

1 existing line in 1 file now uncovered.

291 of 894 relevant lines covered (32.55%)

0.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
63
21.25
internal/types/types.mocks.g.go
40
0.0
internal/apps/auth_server_auto_setup.go
21
69.57
internal/services/user_profile_integration_service.go
20
0.0
internal/modules/pgx_module.go
17
0.0
cmd/authserver-autosetup/main.go
11
40.0
40.0% internal/configuration/appsettings_validation.go
8
0.0
0.0% internal/modules/application_services_module.go
4
0.0
0.0% internal/handlers/containerssh_password_hook_handler.go
3
0.0
0.0% internal/configuration/appsettings.go
3
0.0
0.0% internal/handlers/containerssh_config_hook_handler.go
3
95.71
internal/services/postgres_user_profile_service.go
2
0.0
0.0% internal/modules/configuration_module.go
1
0.0
0.0% cmd/authserver/main.go
1
0.0
internal/apps/auth_server.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% internal/configuration/appsettings.go
Jobs
ID Job ID Ran Files Coverage
1 30135368833.1 25 Jul 2026 12:04AM UTC 28
32.55
GitHub Action Run
Source Files on build 30135368833
  • Tree
  • List 28
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e063f5bc on github
  • Prev Build on main (#29949843664)
  • Next Build on main (#30135473504)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc