Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: debug log is truncated if it already exists #793

Merged
merged 4 commits into from
Jul 4, 2024
Merged

Conversation

phm07
Copy link
Contributor

@phm07 phm07 commented Jun 26, 2024

This fixes #763. It also writes the used command to the debug logs for easier debugging.

@phm07 phm07 added the bug label Jun 26, 2024
@phm07 phm07 self-assigned this Jun 26, 2024
@phm07 phm07 requested a review from a team as a code owner June 26, 2024 09:21
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 59.54%. Comparing base (8c6fec9) to head (19e847a).

Files Patch % Lines
internal/state/state.go 0.00% 13 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #793      +/-   ##
==========================================
- Coverage   59.62%   59.54%   -0.08%     
==========================================
  Files         210      210              
  Lines        7641     7651      +10     
==========================================
  Hits         4556     4556              
- Misses       2443     2453      +10     
  Partials      642      642              

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

internal/state/state.go Outdated Show resolved Hide resolved
internal/state/state.go Outdated Show resolved Hide resolved
@phm07 phm07 changed the base branch from main to config-error-handling June 27, 2024 14:43
internal/state/state.go Outdated Show resolved Hide resolved
@phm07
Copy link
Contributor Author

phm07 commented Jul 3, 2024

Waiting for #798 to be merged before this PR can be rebased & merged

Base automatically changed from config-error-handling to main July 4, 2024 08:23
@phm07 phm07 merged commit c3d3a9f into main Jul 4, 2024
5 checks passed
@phm07 phm07 deleted the fix-debug-log branch July 4, 2024 08:57
apricote pushed a commit that referenced this pull request Jul 17, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.45.0](v1.44.2...v1.45.0)
(2024-07-17)


### Features

* allow configuring default sort columns for each supported resource
([#795](#795))
([f6877a1](f6877a1))
* better error messages on malformed option value
([#798](#798))
([8c6fec9](8c6fec9))


### Bug Fixes

* **config:** ordering of list option values not preserved
([#805](#805))
([1ac27bf](1ac27bf))
* debug log is truncated if it already exists
([#793](#793))
([c3d3a9f](c3d3a9f))
* **firewall:** wrong wording when firewall is removed from resource
([#812](#812))
([9017a65](9017a65)),
closes [#809](#809)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

bug: debug log is truncated if it already exists
3 participants