Skip to content

chore(ci): pin sidecar to discovery retry - #1469

Merged
seonghobae merged 1 commit into
mainfrom
codex/sidecar-pin-discovery-retry
Aug 31, 2026
Merged

chore(ci): pin sidecar to discovery retry#1469
seonghobae merged 1 commit into
mainfrom
codex/sidecar-pin-discovery-retry

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Runtime motivation

The #1468 Noema proof exposed all five credentials and completed successfully, but Bytez discovery returned HTTP 500. The new exact pin retries that class of transient discovery failure once without collapsing or failing over explicit credential accounts.

Validation

  • 28 passed in the sidecar contract suite
  • shell syntax check
  • git diff --check

Devin Review

Advance the shared review sidecar to the exact contextual-orchestrator revision that retries transient per-account model discovery failures.

Signed-off-by: Seongho Bae <me@seonghobae.me>

Commit-Message-Assisted-by: Claude (via Claude Code)
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 45 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0b9f4a64-faf5-44a3-91cc-eae6e20ffa39

📥 Commits

Reviewing files that changed from the base of the PR and between d7b01bc and 9e5df78.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • docs/adr/0003-contextual-orchestrator-vendored-free-zdr.md
  • scripts/ci/contextual_orchestrator_review_sidecar.sh
  • tests/test_contextual_orchestrator_review_sidecar_contract.py

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.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 3 potential issues.

Devin Review

set -euo pipefail

ORCHESTRATOR_PIN_SHA="${ORCHESTRATOR_PIN_SHA:-0adca4703df67f8f31d3ea5b04a1e07ed775dd6c}"
ORCHESTRATOR_PIN_SHA="${ORCHESTRATOR_PIN_SHA:-c107e3e52371993aa9c326fcc245e01c41fc3850}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔴 Discovery retries exceed startup deadline

Each transient account failure under ORCHESTRATOR_PIN_SHA adds 5.5 seconds without extending the 180-second startup deadline. Healthy review routes can be killed during preflight.

Prompt for agents
The c107e3e runtime adds one 0.5-second-delayed discovery retry with a timeout of up to five seconds for each provider account, but scripts/ci/contextual_orchestrator_review_sidecar.sh still terminates startup after 180 seconds. contextual_orchestrator_review_launcher.py already documents that discovery plus route probing can require 265 seconds before these retries; five retries increase that bound by 27.5 seconds. Reconcile the shell watchdog and launcher budgets, preferably with one shared monotonic startup deadline or scaled probing, so transient discovery recovery cannot consume time that the subsequent preflight is not allowed to use. Update the timeout contract tests and budget documentation with the new pinned runtime's retry allowance.
Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

set -euo pipefail

ORCHESTRATOR_PIN_SHA="${ORCHESTRATOR_PIN_SHA:-0adca4703df67f8f31d3ea5b04a1e07ed775dd6c}"
ORCHESTRATOR_PIN_SHA="${ORCHESTRATOR_PIN_SHA:-c107e3e52371993aa9c326fcc245e01c41fc3850}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📝 Info: Pin range contains one commit

The new SHA directly descends from the old pin. No unrelated intervening revisions enter the vendored runtime.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

1. **Vendoring, pinned**: `scripts/ci/contextual_orchestrator_review_sidecar.sh`
clones `ContextualWisdomLab/contextual-orchestrator` at an exact SHA
(`0adca4703df67f8f31d3ea5b04a1e07ed775dd6c` today) into `RUNNER_TEMP`. The
(`c107e3e52371993aa9c326fcc245e01c41fc3850` today) into `RUNNER_TEMP`. The

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📝 Info: Auto-pool text is historical

The ADR amendment explicitly supersedes its original orchestrator/auto decision. Current workflows and contracts consistently enforce orchestrator/free.

Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@seonghobae
seonghobae merged commit fa72349 into main Aug 31, 2026
51 of 52 checks passed
@seonghobae
seonghobae deleted the codex/sidecar-pin-discovery-retry branch August 31, 2026 03:54
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.

1 participant