GeezerVison is showing github.com — migrate code from googleapis/nodejs-logging-bunyan by miguelvelezsa · Pull Request #6991 · googleapis/google-cloud-node
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
* fix: de-flake system tests
Ref: googleapis/nodejs-logging-winston#265
1. Synchronize the system test with logging-winston. Use the same
structure and reliable mechanism for polling.
2. Apply the timeout uniformly across the test.
3. Use unique serviceContext for the error reporting tests to ensure
concurrent executions of the tests do no race.
* fix: disabled tests had were not being run
These tests were not even running before because of the errant
describe.only in logging-bunyan.ts fixed in the previous commit.
Fix. Deflake.
* fix: do not promote record.labels if improper
We promote a bunyan record.labels property to the LogEntry.labels
property. This enables label based filtering to work auto-magically.
However, this can be problematic when the labels are not type correct
as per the logging proto requirements - specifically, the labels values
have to be strings.
Restrict the automatic promotion to happen only in the cases when
know that the labels are well-formatted.
Fixes: googleapis/nodejs-logging-bunyan#265
The system tests for error reporting were still not safe to run
concurrently. The issue is that at the end we were deleting all events
(there is no API to delete events selectively, AFAICT). This meant that
concurrent executions of the system tests against the same project could
clobber anothers logged errors.
This is consistent with the observed timeouts looking for events to
show up.
Fixes: #267
Previously we were comparing the list of services using the
representative sample. This means that if more than one service have the
same error, we may not necessarily get the sample that we want to
observe. Instead look for all the affected services for all groups to
find the matching group.
Ref: googleapis/nodejs-logging-winston#279
The group can have related events from multiple services. Fix the filter
to ensure only the right events are returned.
Release @google-cloud/logging-bunyan v0.10.1
This pull request was generated using releasetool.
#279 automerged by dpebot
Our overrides for Writable.prototype._write[v] didn't match the
signature of the parent class. encoding and callback are not optional.
…UNYAN_DEFAULT_LIBRARY_VERSION (#672)
* fix: Switch instrumentation code to return version stored in NODEJS_BUNYAN_DEFAULT_LIBRARY_VERSION
* Fix comment for release-please annotations
* Fix comment
* Fix comment
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…s directly from the library (#719)
* chore: call non-hermetic functions since we're installing node_modules directly from the library
* chore: call non-hermetic functions since we're installing node_modules directly from the library
Source-Link: googleapis/synthtool@4c4063f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:8b6a07a38d1583d96b6e251ba208bd4ef0bc2a0cc37471ffc518841651d15bd6
* Update owlbot.py
* Update sync-repo-settings.yaml
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
* fix: Add `system-test/fixtures` to `.eslintignore`
* refactor: Use `**`
Source-Link: googleapis/synthtool@b7858ba
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:abc68a9bbf4fa808b25fa16d3b11141059dc757dbc34f024744bba36c200b40f
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
…th engines-strict (#741)
* chore: [node] add auto-approve templates, and install dependencies with engines-strict
chore: add auto-approve templates, and install dependencies with engines-strict
Source-Link: googleapis/synthtool@4a02d97
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:68e1cece0d6d3336c4f1cb9d2857b020af5574dff6da6349293d1c6d4eea82d8
* Update package.json
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
* chore: update links in github issue templates
* chore: update links in github issue templates
Source-Link: googleapis/synthtool@38fa49f
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:609822e3c09b7a1bd90b99655904609f162cc15acb4704f1edf778284c36f429
* Delete .github/ISSUE_TEMPLATE/bug_report.md
* Delete .github/ISSUE_TEMPLATE/feature_request.md
* Delete .github/ISSUE_TEMPLATE/question.md
* Delete .github/ISSUE_TEMPLATE/support_request.md
* Update CODEOWNERS
* Update owlbot.py
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: sofisl <[email protected]>
snippet-bot
Bot
commented
Jan 14, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|