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

pgconfig / api
59%
master: 79%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-go-6
DEFAULT BRANCH: master
Repo Added 01 Nov 2021 10:59PM UTC
Files 37
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

LAST BUILD ON BRANCH seba/fix-env-parse
branch: seba/fix-env-parse
CHANGE BRANCH
x
Reset
  • seba/fix-env-parse
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/download-artifact-7
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • main
  • master
  • refs/tags/0.3.1
  • refs/tags/3.0.0
  • refs/tags/3.0.0-beta1
  • refs/tags/3.0.0-beta2
  • refs/tags/3.0.0-beta3
  • refs/tags/3.0.0-rc1
  • refs/tags/3.1.0
  • refs/tags/3.1.1
  • refs/tags/3.1.3
  • refs/tags/3.1.4
  • seba/fix-goreleaser
  • seba/fix-goreleaser2
  • seba/fix-goreleaser3
  • seba/fixing-some-issues
  • seba/jsonlog
  • seba/pg18
  • seba/update-param-short-desc
  • seba/use-rspec-like-tests

06 Feb 2026 05:03AM UTC coverage: 58.769% (+2.6%) from 56.207%
21739401176

Pull #39

github

sebastianwebber
fix: normalize environment_name to uppercase in api

Fix case sensitivity bug where API returns zero memory values when
environment_name parameter uses mixed case (e.g., "Mixed" instead of
"MIXED"). Profile lookups in memory configuration maps require
uppercase keys, but API was doing direct type cast without validation.

This caused all memory parameters (shared_buffers, effective_cache_size,
work_mem, maintenance_work_mem) to return 0 when map lookups failed.

Add profile.Parse() function to centralize parsing logic and ensure
case-insensitive matching through existing Set() normalization.

Fixes #37

Signed-off-by: Sebastian Webber <sebastian@swebber.me>
Pull Request #39: fix: normalize environment_name to uppercase in api

7 of 11 new or added lines in 2 files covered. (63.64%)

697 of 1186 relevant lines covered (58.77%)

20.32 hits per line

Relevant lines Covered
Build:
Build:
1186 RELEVANT LINES 697 COVERED LINES
20.32 HITS PER LINE
Source Files on seba/fix-env-parse
  • Tree
  • List 36
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21739401176 seba/fix-env-parse fix: normalize environment_name to uppercase in api Fix case sensitivity bug where API returns zero memory values when environment_name parameter uses mixed case (e.g., "Mixed" instead of "MIXED"). Profile lookups in memory configuration maps req... Pull #39 06 Feb 2026 05:06AM UTC sebastianwebber github
58.77
See All Builds (106)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc