Skip to content

added a failure field to the future that fails if it happens - #28

Open
Saaketh0 wants to merge 5 commits into
telemetry-signalsfrom
fortune-click
Open

added a failure field to the future that fails if it happens#28
Saaketh0 wants to merge 5 commits into
telemetry-signalsfrom
fortune-click

Conversation

@Saaketh0

@Saaketh0 Saaketh0 commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0b422fac-8d40-4bef-99be-c7aa074e5ecc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

self._process_request(data)
except json.JSONDecodeError:
logger.error("Invalid JSON in request: %s", raw)
except Exception as e:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Shouldn't we merge these two excepts across the two lines rather than having two except and mark both failed

Comment thread ventis/future.py
"request_id": self.request_id or "",
"result": "",
"parent": self.parent,
"service": self.service,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think maybe add the failure and error fields here

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