GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — error-reporting: Address unresponsive Hapi apps by DominicKramer · Pull Request #2315 · googleapis/google-cloud-node

Conversation

@DominicKramer

@DominicKramer DominicKramer commented May 17, 2017

Copy link
Copy Markdown
Contributor

The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@DominicKramer
error-reporting: Address unresponsive Hapi apps
1427e45
The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.
@DominicKramer DominicKramer added the api: error-reporting label May 17, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 17, 2017
@coveralls

coveralls commented May 17, 2017

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 1427e45 on DominicKramer:bug/fix-hapi-unresponsive into ** on GoogleCloudPlatform:master**.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DominicKramer
DominicKramer requested a review from ofrobots May 17, 2017 15:31
ofrobots
ofrobots suggested changes May 17, 2017
View reviewed changes

@ofrobots ofrobots left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The change looks good, but please add a test for this. Were we missing a test, or how was it passing?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@DominicKramer
Add a test case
92ec62a
@DominicKramer

DominicKramer commented May 17, 2017

Copy link
Copy Markdown
Contributor Author

I've added a test. It looks like we thought that the reply object given to listeners of the onPreResponse event would satisfy is.object(reply). As a result, our test made a reply object using an object literal in the test.

However, I made a Hapi app and found that it is possible that reply is a function that has a reply.continue. Thus, I've added a test to cover the case when reply is a function.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coveralls

coveralls commented May 17, 2017

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 92ec62a on DominicKramer:bug/fix-hapi-unresponsive into ** on GoogleCloudPlatform:master**.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ofrobots
ofrobots approved these changes May 17, 2017
View reviewed changes

@ofrobots ofrobots left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM w/ nits.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/error-reporting/test/unit/interfaces/hapi.js Outdated
});
it('Should call continue when a boom is emitted', function(done) {
it('Should call continue when a boom is emitted if reply is an object',
function(done) {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/error-reporting/test/unit/interfaces/hapi.js Outdated
);
});
it('Should call continue when a boom is emitted if reply is a function',
function(done) {

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DominicKramer
Fix indentation
8b43f0a
@coveralls

coveralls commented May 17, 2017

Copy link
Copy Markdown

Coverage Status

Changes Unknown when pulling 8b43f0a on DominicKramer:bug/fix-hapi-unresponsive into ** on GoogleCloudPlatform:master**.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@DominicKramer

DominicKramer commented May 17, 2017

Copy link
Copy Markdown
Contributor Author

@stephenplusplus This is ready to land.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@stephenplusplus
stephenplusplus merged commit acbdc8a into googleapis:master May 18, 2017
This was referenced Jul 5, 2017
Update dependency @google-cloud/datastore to version 1.0.7 Platane/velib-paris#24
Merged
Update dependency @google-cloud/storage to version 1.2.0 Platane/velib-paris#25
Merged
GautamSharda pushed a commit that referenced this pull request Jan 14, 2026
@DominicKramer @stephenplusplus
error-reporting: Address unresponsive Hapi apps (#2315)
8746506
* error-reporting: Address unresponsive Hapi apps

The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.
GautamSharda pushed a commit that referenced this pull request Jan 15, 2026
@DominicKramer @stephenplusplus
error-reporting: Address unresponsive Hapi apps (#2315)
754d470
* error-reporting: Address unresponsive Hapi apps

The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.
@GautamSharda GautamSharda mentioned this pull request Jan 20, 2026
chore: migrate code from googleapis/nodejs-error-reporting #7019
Closed
4 tasks
GautamSharda pushed a commit that referenced this pull request Feb 5, 2026
@DominicKramer @stephenplusplus
error-reporting: Address unresponsive Hapi apps (#2315)
d848d4e
* error-reporting: Address unresponsive Hapi apps

The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.
@GautamSharda GautamSharda mentioned this pull request Feb 5, 2026
migrate code from googleapis/nodejs-error-reporting #7169
Closed
4 tasks
GautamSharda pushed a commit that referenced this pull request Feb 23, 2026
@DominicKramer @stephenplusplus
error-reporting: Address unresponsive Hapi apps (#2315)
34525a0
* error-reporting: Address unresponsive Hapi apps

The Hapi plugin was too restrictive when determining if it should
continue a reply, which could cause some Hapi apps to become
unresponsive.
@GautamSharda GautamSharda mentioned this pull request Feb 23, 2026
migrate code from googleapis/nodejs-error-reporting #7294
Closed
sofisl pushed a commit that referenced this pull request Feb 25, 2026
@d-goog @gcf-owl-bot
build: Support Source Maps for Debugging (#2315)
c2babec
* feat: Transfer Manager Metrics

* fix: Add missing `gccl-gcs-cmd/` prefix

* fix: remove unused method

* refactor: update logic for both headers

* refactor: use `Symbol.for` in case the file is evaluated multiple times

* fix: add missing URL param

* fix: if header doesn't exist, add it

* test: Add `GCCL_GCS_CMD_KEY` TM tests

* feat: Add base `x-goog-api-client` for XML API

* chore: dep type change

* fix: pass `GCCL_GCS_CMD_KEY`

* refactor: remove unused

* test: Add `GCCL_GCS_CMD` tests

* chore: cleanup

* build: Support Source Maps for Local Debugging

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@GautamSharda GautamSharda mentioned this pull request Feb 26, 2026
migrate code from googleapis/nodejs-error-reporting #7308
Merged
4 tasks
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@gcf-owl-bot
feat(spanner): add new change_stream.proto (#2315)
d971b54
* feat(spanner): add new change_stream.proto

PiperOrigin-RevId: 766241102

Source-Link: googleapis/googleapis@2bea1fc

Source-Link: googleapis/googleapis-gen@f429e2a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjQyOWUyYTg2NDkyZmUzNzc1NDA3OWZmMDIzNmNiYWMzYmUxYmZiYSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
sofisl pushed a commit that referenced this pull request Feb 26, 2026
@release-please
chore(main): release 8.1.0 (#2305)
f3bd153
🤖 I have created a release *beep* *boop*
---


## [8.1.0](https://togithub.com/googleapis/nodejs-spanner/compare/v8.0.0...v8.1.0) (2025-07-28)


### Features

* Add Custom OpenTelemetry Exporter in for Service Metrics ([#2272](https://togithub.com/googleapis/nodejs-spanner/issues/2272)) ([610d1b9](https://togithub.com/googleapis/nodejs-spanner/commit/610d1b989ba186c0758791343deaa7f683c4bd26))
* Add methods from gax to cache proto root and process custom error details ([#2330](https://togithub.com/googleapis/nodejs-spanner/issues/2330)) ([1b3931a](https://togithub.com/googleapis/nodejs-spanner/commit/1b3931a799bdd052adc91703e59e1d0c83270065))
* Add metrics tracers ([#2319](https://togithub.com/googleapis/nodejs-spanner/issues/2319)) ([192bf2b](https://togithub.com/googleapis/nodejs-spanner/commit/192bf2bb603bca4ac481fcfd1f04974173adc6a1))
* Add support for AFE latency metrics ([#2348](https://togithub.com/googleapis/nodejs-spanner/issues/2348)) ([0666f05](https://togithub.com/googleapis/nodejs-spanner/commit/0666f05d589e2f229b44dffae8e9649220bccf8b))
* Add throughput_mode to UpdateDatabaseDdlRequest to be used by Spanner Migration Tool. See https://togithub.com/GoogleCloudPlatform/spanner-migration-tool ([#2304](https://togithub.com/googleapis/nodejs-spanner/issues/2304)) ([a29af56](https://togithub.com/googleapis/nodejs-spanner/commit/a29af56ae3c31f07115cb938bcf3f0f77241b725))
* Operation, Attempt, and GFE metrics ([#2328](https://togithub.com/googleapis/nodejs-spanner/issues/2328)) ([646e6ea](https://togithub.com/googleapis/nodejs-spanner/commit/646e6ea6f1dc5fa1937e512ae9e81ae4d2637ed0))
* Proto changes for an internal api ([#2356](https://togithub.com/googleapis/nodejs-spanner/issues/2356)) ([380e770](https://togithub.com/googleapis/nodejs-spanner/commit/380e7705a23a692168db386ba5426c91bf1587b6))
* **spanner:** A new field `snapshot_timestamp` is added to message `.google.spanner.v1.CommitResponse` ([#2350](https://togithub.com/googleapis/nodejs-spanner/issues/2350)) ([0875cd8](https://togithub.com/googleapis/nodejs-spanner/commit/0875cd82e99fa6c95ab38807e09c5921303775f8))
* **spanner:** Add new change_stream.proto ([#2315](https://togithub.com/googleapis/nodejs-spanner/issues/2315)) ([57d67be](https://togithub.com/googleapis/nodejs-spanner/commit/57d67be2e3b6d6ac2a8a903acf8613b27a049c3b))
* **spanner:** Add tpc support ([#2333](https://togithub.com/googleapis/nodejs-spanner/issues/2333)) ([a381cab](https://togithub.com/googleapis/nodejs-spanner/commit/a381cab92c31373a6a10edca0f8a8bdfc4415e4b))
* Track precommit token in r/w apis(multiplexed session) ([#2312](https://togithub.com/googleapis/nodejs-spanner/issues/2312)) ([3676bfa](https://togithub.com/googleapis/nodejs-spanner/commit/3676bfa60725c43f85a04ead87943be92e4a99f0))


### Bug Fixes

* Docs-test ([#2297](https://togithub.com/googleapis/nodejs-spanner/issues/2297)) ([61c571c](https://togithub.com/googleapis/nodejs-spanner/commit/61c571c729c2a065df6ff166db784a6e6eaef74d))
* Ensure context propagation works in Node.js 22 with async/await ([#2326](https://togithub.com/googleapis/nodejs-spanner/issues/2326)) ([e8cdbed](https://togithub.com/googleapis/nodejs-spanner/commit/e8cdbedd55f049b8c7766e97388ed045fedd1b4e))
* Pass the Span correctly ([#2332](https://togithub.com/googleapis/nodejs-spanner/issues/2332)) ([edaee77](https://togithub.com/googleapis/nodejs-spanner/commit/edaee7791b2d814f749ed35119dd705924984a78))
* System test against emulator ([#2339](https://togithub.com/googleapis/nodejs-spanner/issues/2339)) ([2a6af4c](https://togithub.com/googleapis/nodejs-spanner/commit/2a6af4c36484f44929a2fac80d8f225dad5d702c))
* Unhandled exceptions from gax ([#2338](https://togithub.com/googleapis/nodejs-spanner/issues/2338)) ([6428bcd](https://togithub.com/googleapis/nodejs-spanner/commit/6428bcd2980852c1bdbc4c3d0ab210a139e5f193))


### Performance Improvements

* Skip gRPC trailers for StreamingRead & ExecuteStreamingSql ([#2313](https://togithub.com/googleapis/nodejs-spanner/issues/2313)) ([8bd0781](https://togithub.com/googleapis/nodejs-spanner/commit/8bd0781e8b434a421f0e0f3395439a5a86c7847c))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
thiyaguk09 pushed a commit to thiyaguk09/google-cloud-node-fork that referenced this pull request Mar 18, 2026
@d-goog @gcf-owl-bot
build: Support Source Maps for Debugging (googleapis#2315)
bc5e374
* feat: Transfer Manager Metrics

* fix: Add missing `gccl-gcs-cmd/` prefix

* fix: remove unused method

* refactor: update logic for both headers

* refactor: use `Symbol.for` in case the file is evaluated multiple times

* fix: add missing URL param

* fix: if header doesn't exist, add it

* test: Add `GCCL_GCS_CMD_KEY` TM tests

* feat: Add base `x-goog-api-client` for XML API

* chore: dep type change

* fix: pass `GCCL_GCS_CMD_KEY`

* refactor: remove unused

* test: Add `GCCL_GCS_CMD` tests

* chore: cleanup

* build: Support Source Maps for Local Debugging

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@ofrobots ofrobots ofrobots approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

api: error-reporting cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

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.

5 participants

@DominicKramer @coveralls @ofrobots @stephenplusplus @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.