Skip to content

Conversation

@dkhalife
Copy link
Owner

  • export before going into frontend repo
  • remove redundant debug config

Copilot AI review requested due to automatic review settings March 23, 2025 23:52
@dkhalife dkhalife enabled auto-merge (squash) March 23, 2025 23:52
@dkhalife dkhalife disabled auto-merge March 23, 2025 23:52
@dkhalife dkhalife enabled auto-merge (squash) March 23, 2025 23:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the redundant debug configuration from the backend by eliminating the dedicated debug flag and instead relying solely on the log_level setting for configuring debug behavior.

  • Removes the debug flag from configuration files and the corresponding code in config.go and README.md.
  • Updates logging and mode-setting logic in main.go and newServer to use the log_level value.
  • Adjusts the Go release workflow to maintain consistency with the frontend build process.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
main.go Refactoring logging logic to interpret debug via log_level rather than a dedicated flag
.github/workflows/go-release.yml Minor adjustment to frontend build commands
config/config.dev.yaml Removal of the debug property from development config
config/config.yaml Removal of the debug property from production config
config/config.go Removal of the debug field from the server configuration
README.md Update documentation to reflect removal of debug flag

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dkhalife dkhalife merged commit ab31810 into main Mar 24, 2025
4 checks passed
@dkhalife dkhalife deleted the debug-cfg branch March 24, 2025 00:28
dkhalife added a commit that referenced this pull request Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants