Skip to content

fix: correct inverted GIN_MODE condition in handleDebugMode#979

Merged
sinchubhat merged 1 commit into
mainfrom
issue573-main-changes
May 18, 2026
Merged

fix: correct inverted GIN_MODE condition in handleDebugMode#979
sinchubhat merged 1 commit into
mainfrom
issue573-main-changes

Conversation

@sinchubhat
Copy link
Copy Markdown
Contributor

@sinchubhat sinchubhat commented May 15, 2026

  • Extract shouldAutoLaunchBrowser() — browser now launches only when GIN_MODE=debug

Related to device-management-toolkit/deployment#573

Output:

issue573-main-changes-may15

@codecov
Copy link
Copy Markdown

codecov Bot commented May 15, 2026

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 40.81%. Comparing base (6e16877) to head (7771478).

Files with missing lines Patch % Lines
cmd/app/main.go 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #979   +/-   ##
=======================================
  Coverage   40.80%   40.81%           
=======================================
  Files         134      134           
  Lines       12309    12311    +2     
=======================================
+ Hits         5023     5025    +2     
  Misses       6763     6763           
  Partials      523      523           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sinchubhat sinchubhat marked this pull request as ready for review May 15, 2026 05:10
* Extract shouldAutoLaunchBrowser() — browser now launches only when GIN_MODE=debug

Related to device-management-toolkit/deployment#573
@sinchubhat sinchubhat force-pushed the issue573-main-changes branch from cdb1fef to 7771478 Compare May 18, 2026 03:52
@sinchubhat sinchubhat merged commit 8bb7d69 into main May 18, 2026
20 checks passed
@sinchubhat sinchubhat deleted the issue573-main-changes branch May 18, 2026 04:02
@RosieAMT
Copy link
Copy Markdown

🎉 This PR is included in version 1.26.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

error with deployment main branch (console)

3 participants