Skip to content

feat: support unary gRPC in Symfony Runtime - #7

Merged
FluffyDiscord merged 2 commits into
1.xfrom
feat/grpc-runtime
Oct 28, 2026
Merged

FluffyDiscord merged 2 commits into
1.xfrom
feat/grpc-runtime

Conversation

@Zylius

@Zylius Zylius commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Zylius
Zylius requested a review from a team as a code owner October 27, 2026 13:26
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 359f66fa-5b15-4b59-9668-f8b3c8820477
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@FluffyDiscord

Copy link
Copy Markdown

my tibits:

  1. services_resetter should not be required, its not required in symfony itself
  2. i dont like the runtime checks for existing interfaces, do it at DI compile time, container injection can then go away
  3. shouldnt this also handle the kernel shutdown before exiting? shutdown has even listeners apps might use
  4. i think event dispatcher could be nice here, right now you dont even know this, if event dispatcher service exists
  5. i would remove the gc collect, it only slows down your worker, doesnt really help with anything, if you have a leak, this wont save you
  6. collapse $call->isCancelled() check into single place

@FluffyDiscord FluffyDiscord left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

see previous comment

Notify optional event listeners when calls are discarded, remove forced collection and consolidate the initial cancellation guard. Release discarded-call exception traces before receiving again. Cover listener cleanup, optional services, drain shutdown and cancellation races.

The resetter remains optional and shutdown already runs through finally. Keep startup service validation because the Runtime package has no bundle or compiler-pass registration hook.
@Zylius
Zylius requested a review from FluffyDiscord October 27, 2026 14:44
@FluffyDiscord

Copy link
Copy Markdown

@Zylius other points are not relevant?

@Zylius

Zylius commented Oct 27, 2026

Copy link
Copy Markdown
Contributor Author

@Zylius other points are not relevant?

We're talking about number two? So we either make this a bundle or have users manually inject compiler passes. I dont like this.

@FluffyDiscord
FluffyDiscord merged commit c2c0ba9 into 1.x Oct 28, 2026
21 checks passed
@FluffyDiscord
FluffyDiscord deleted the feat/grpc-runtime branch October 28, 2026 14:32
@Zylius

Zylius commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Thank you @FluffyDiscord

@github-actions github-actions Bot mentioned this pull request Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants