Repository navigation
Conversation
|
We've been automatically notified and are looking into it. Push a new commit to re-trigger the review, or contact support@builder.io if this keeps happening. Error ID: |
There was a problem hiding this comment.
Builder reviewed your changes — looks good ✅
Review Details
Incremental Review Summary
The latest update removes the 300-second cap and now forwards Telegram's validated positive retry_after unchanged through the Retry-After header and action details. The previously reported premature-retry issue is fixed and its comment thread has been resolved. Two independent review agents found no new actionable issues; malformed upstream payload handling, request timeout behavior, status mapping, and propagation across HTTP/action paths also look consistent. Credential validation remains enforced before saving and before webhook dispatch. Risk remains high because this change covers credential validation and provider failure handling.
🧪 Browser testing: Skipped — browser-test-planner is unavailable in this session; the changed credential help text is user-facing.
Fixes #9018
Returning 502 when Telegram
setWebhookfails causes Cloudflare to replace the JSON response with an HTML error page, masking Telegram's error description from the user. Replaces 502 with non-5xx statuses that reverse proxies pass through to the client:< 500)Retry-Afterand forwardingretryAfterSecondsandupstreamStatus)upstreamStatus)Also validates that
TELEGRAM_WEBHOOK_SECRETmatches allowed characters^[A-Za-z0-9_-]{1,256}$before dispatching to Telegram, and forwardsupstreamStatusandretryAfterSecondsthrough action error details.Validation:
pnpm --filter @agent-native/core test integrations/adapters/telegram.spec.ts integrations/channel-settings.spec.ts integrations/plugin.spec.ts