Skip to content

Conversation

Songmu
Copy link
Collaborator

@Songmu Songmu commented Aug 15, 2025

I noticed in #363 that the contents of the user's content included in the request are included in error.json. This was not very good, so I decided to filter it out of the output. This change to the request output was made in #348.

In addition, to enhance error messages, I embedded the commit hash in the executable file. At the same time, I made the following changes.

  • Constant definition of version.Version
    • Since it is incremented by tagpr, it does not need to be specified at build time
  • Removal of unnecessary build variables
    • deck.version, deck.date, and deck.commit were removed from the build configuration as they were not declared in the code.

@Songmu Songmu requested a review from k1LoW August 15, 2025 13:04

This comment has been minimized.

This comment has been minimized.

Copy link
Contributor

Code Metrics Report

main (b9a2be8) #364 (974148f) +/-
Coverage 31.7% 31.7% -0.1%
Code to Test Ratio 1:0.8 1:0.8 -0.1
Test Execution Time 9s 10s +1s
Details
  |                     | main (b9a2be8) | #364 (974148f) |  +/-  |
  |---------------------|----------------|----------------|-------|
- | Coverage            |          31.7% |          31.7% | -0.1% |
  |   Files             |             26 |             26 |     0 |
  |   Lines             |           3063 |           3065 |    +2 |
  |   Covered           |            972 |            972 |     0 |
- | Code to Test Ratio  |          1:0.8 |          1:0.8 |  -0.1 |
  |   Code              |           6289 |           6298 |    +9 |
  |   Test              |           5476 |           5476 |     0 |
- | Test Execution Time |             9s |            10s |   +1s |

Code coverage of files in pull request scope (5.8% → 5.2%)

Files Coverage +/- Status
cmd/root.go 5.2% -0.7% modified

Reported by octocov

Copy link
Owner

@k1LoW k1LoW left a comment

Choose a reason for hiding this comment

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

LGTM!
Thank you!!

@Songmu Songmu merged commit 49b1db3 into main Aug 15, 2025
1 check passed
@Songmu Songmu deleted the commit-hash branch August 15, 2025 14:20
@github-actions github-actions bot mentioned this pull request Aug 15, 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