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: offline mode would spam logs when file changes #406

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

cwaldren-ld
Copy link
Contributor

When the offline mode archive changed for the first time, the file monitor would emit a spurious log subsequent times because it wasn't updating its cache of the latest info from stat.

I've also extracted some of the log messages into const strings to fit the existing paradigm.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review June 25, 2024 00:16
@cwaldren-ld cwaldren-ld requested review from a team and louis-launchdarkly June 25, 2024 00:16
@cwaldren-ld cwaldren-ld force-pushed the cw/offline-mode-spammy-log-v8 branch from 283f334 to 27093cb Compare June 25, 2024 00:34
@cwaldren-ld cwaldren-ld merged commit 3c12e10 into v8 Jun 25, 2024
8 checks passed
@cwaldren-ld cwaldren-ld deleted the cw/offline-mode-spammy-log-v8 branch June 25, 2024 17:52
cwaldren-ld pushed a commit that referenced this pull request Jun 25, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.8.0](v8.7.1...v8.8.0)
(2024-06-25)


### Features

* offline mode key rotation
([#408](#408))
([b3f03a4](b3f03a4))
* periodic key revocation
([#401](#401))
([92033e9](92033e9))


### Bug Fixes

* offline mode would spam logs when file changes
([#406](#406))
([3c12e10](3c12e10))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants