Skip to content

Cert/profile b e2e - #8

Open
Yasou13 wants to merge 2 commits into
mainfrom
cert/profile-b-e2e
Open

Cert/profile b e2e#8
Yasou13 wants to merge 2 commits into
mainfrom
cert/profile-b-e2e

Conversation

@Yasou13

@Yasou13 Yasou13 commented Sep 2, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings September 2, 2026 07:30

Copilot AI 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.

🟡 Changes recommended

Newly introduced polling parameters should validate/clamp negative values to avoid surprising tight-loop polling behavior against the remote API.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR adjusts MESA publish-delivery execution behavior to be more resilient in slower end-to-end scenarios by making inline mutation polling configurable and increasing the default HTTP client timeout.

Changes:

  • Added max_inline_polls and poll_interval_seconds parameters to execute_publish_delivery() to control inline mutation polling behavior.
  • Replaced hard-coded inline polling constants (5 polls, 0.5s sleep) with the new parameters.
  • Increased MesaClient default timeout_seconds from 15s to 60s.
File summaries
File Description
src/mesa_legal_data/publisher/engine.py Makes inline mutation polling configurable during publish deliveries.
src/mesa_legal_data/publisher/client.py Increases default HTTP timeout to better accommodate slower MESA responses.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +347 to +348
max_inline_polls: int = 5,
poll_interval_seconds: float = 0.5,
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