Skip to content

mcpx: effect probe for proto.askTTL (#8473 chain 3) - #11835

Merged
dezren39 merged 1 commit into
mainfrom
test/mcpx-ask-ttl-probe
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
test/mcpx-ask-ttl-probe

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Before: proto.askTTL was one of the 21 proto-family settings in the #8473 burn-down still carrying a coverage exemption instead of an integration test.

After: TestAskTTLBoundsAnInterruptibleCallFromTheEnvironment shows the setting working end to end. A /v1/ask exec call that sleeps eight seconds is still running after four seconds at the default (15m), and with MCPX_PROTO_ASK_TTL=1s it ends inside that window with its script stopped after about a second. The exemption line is removed and EffectExemptionPin drops 192 to 191.

How: same shape as chain 2 (PR #11787): the probe in internal/e2e/effect_test.go, its entry in both probe maps and settings.EffectProbes, the exemption removed from effect.go and feature_coverage_exemptions.txt. Targeted run passes, as do go test ./internal/settings and the feature-coverage guard tests.

One thing the probe surfaced, not changed here: when the askTTL deadline stops an exec call, the result says script timed out after 2m0s (the script timeout) with status completed, rather than naming the ask deadline. The probe checks the stop itself, not that wording.

Refs #8473


Generated by Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

A /v1/ask exec call that sleeps eight seconds is still running after four
at the default askTTL, and is stopped after about a second with
MCPX_PROTO_ASK_TTL=1s. The exemption line goes and the pin drops to 191.

Refs #8473

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 17:24
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 17:24
@dezren39
dezren39 merged commit 764d244 into main Nov 18, 2026
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@dezren39
dezren39 deleted the test/mcpx-ask-ttl-probe branch November 18, 2026 17:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T17:25:53.021001Z ca16c71 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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