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 — fix: check batch size before re-queueing retried messages by 1kilobit · Pull Request #2027 · googleapis/nodejs-pubsub

This repository was archived by the owner on Oct 21, 2026. It is now read-only.

Conversation

@1kilobit

@1kilobit 1kilobit commented Apr 16, 2025 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Fixes #2026 🦕

This adds the same batch size-based flushing logic added to MessageQueue.add() in PR #1963 to MessageQueue.handleRetry(), which also queues into the next batch.

Sorry, something went wrong.

Uh oh!

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

All reactions
@1kilobit
fix: check batch size before re-queueing retried messages
a0b8cb3
@1kilobit
1kilobit requested review from a team April 16, 2025 22:22
@google-cla

google-cla Bot commented Apr 16, 2025

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

All reactions

Sorry, something went wrong.

Uh oh!

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

@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Apr 16, 2025
1kilobit and others added 2 commits April 30, 2025 12:43
@1kilobit
Merge branch 'main' into fix/flush-before-requeuing-retries
e1086e6
@feywind
Merge branch 'main' into fix/flush-before-requeuing-retries
2e680bc
@feywind

feywind commented May 8, 2025

Copy link
Copy Markdown
Contributor

@1kilobit Thanks for the PR, I just noticed that I missed this!

1kilobit reacted with hooray emoji
All reactions
  • 🎉 1 reaction

Sorry, something went wrong.

Uh oh!

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

feywind
feywind previously approved these changes May 13, 2025
View reviewed changes
feywind and others added 2 commits May 13, 2025 19:06
@feywind
fix: remove dangling Promise after 5.x linting changes
7a1b241
@1kilobit
Merge branch 'main' into fix/flush-before-requeuing-retries
fe99d8a
@1kilobit
1kilobit dismissed feywind’s stale review via fe99d8a May 29, 2025 18:50
1kilobit and others added 3 commits July 23, 2025 13:18
@1kilobit
Merge branch 'main' into fix/flush-before-requeuing-retries
cac7fbb
@feywind
Merge branch 'main' into fix/flush-before-requeuing-retries
1dab24f
@feywind
fix: bring up to date with the logging changes
a70e0a1
@feywind feywind added the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 19, 2025
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 19, 2025
@feywind feywind added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Sep 19, 2025
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Sep 19, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 19, 2025
abbrowne126
abbrowne126 approved these changes Sep 19, 2025
View reviewed changes
feywind
feywind approved these changes Sep 19, 2025
View reviewed changes
@feywind
feywind merged commit 6c1613f into googleapis:main Sep 19, 2025
@release-please release-please Bot mentioned this pull request Sep 19, 2025
chore(main): release 5.2.1 #2092
Merged
@drickferreira drickferreira mentioned this pull request Feb 9, 2026
Update dependency @google-cloud/pubsub to ^5.2.1 to fix modifyAckDeadline 524288 bytes error on retry flocasts/nestjs-google-pubsub-connector#68
Open
@vienneraphael vienneraphael mentioned this pull request Sep 12, 2026
pubsub: concurrent ACK/modACK queue additions exceed maxMessages in 6.0.1 googleapis/google-cloud-node#9303
Open
8 tasks done
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@feywind feywind feywind approved these changes
@abbrowne126 abbrowne126 abbrowne126 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: pubsub Issues related to the googleapis/nodejs-pubsub API. size: s Pull request size is small.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Retried ack requests are re-queued without respecting batch limits

Uh oh!

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

4 participants

@1kilobit @feywind @abbrowne126 @yoshi-kokoro
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.