Skip to content

diagnose(ci): isolate Bytez discovery 500 - #1472

Merged
seonghobae merged 6 commits into
mainfrom
diagnose/bytez-discovery-status
Aug 31, 2026
Merged

diagnose(ci): isolate Bytez discovery 500#1472
seonghobae merged 6 commits into
mainfrom
diagnose/bytez-discovery-status

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Controlled diagnostic change. The status-only Bytez probe runs only when PR_NUMBER is 1473; ordinary sidecars are unchanged. After #1472 lands, #1473 will trigger the trusted main script and both PRs will be closed/reverted once evidence is captured.

Record only HTTP status codes for bounded authenticated Bytez catalog variants; never emit response bodies or credential metadata.

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 33 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: 0ee15a4c-9508-4167-b526-d94d5e6db5dc

📥 Commits

Reviewing files that changed from the base of the PR and between b80e0c2 and 25b822a.

📒 Files selected for processing (1)
  • scripts/ci/contextual_orchestrator_review_sidecar.sh

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.

@seonghobae
seonghobae marked this pull request as ready for review August 31, 2026 03:58
seonghobae and others added 2 commits August 31, 2026 12:58
Signed-off-by: Seongho Bae <me@seonghobae.me>

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

@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.

Note

This report is out of date. Scroll down for Devin Review's latest report on this PR.

Devin Review found 2 potential issues.

Devin Review

Comment on lines +90 to +91
except (OSError, TimeoutError, urllib.error.URLError) as exc:
code = type(exc).__name__

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.

🟡 Diagnostic response aborts every review

If Bytez returns a malformed HTTP response, urlopen raises an uncaught protocol exception and aborts sidecar provisioning. Every dependent review then fails before model discovery.

Prompt for agents
Keep the temporary Bytez diagnostic observational and non-fatal. In scripts/ci/contextual_orchestrator_review_sidecar.sh, handle http.client.HTTPException from urllib.request.urlopen alongside the existing network exceptions, emit only its exception type as the diagnostic value, and add a contract or executable test proving a malformed HTTP response cannot abort sidecar provisioning.
Devin Review

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

Comment thread scripts/ci/contextual_orchestrator_review_sidecar.sh Outdated
Signed-off-by: Seongho Bae <me@seonghobae.me>

Commit-Message-Assisted-by: Claude (via Claude Code)
Run the status-only requests solely for PR 1473 so ordinary review sidecars remain unchanged.

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

Commit-Message-Assisted-by: Claude (via Claude Code)
@seonghobae
seonghobae merged commit eef6395 into main Aug 31, 2026
15 of 31 checks passed
@seonghobae
seonghobae deleted the diagnose/bytez-discovery-status branch August 31, 2026 04:02

@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 1 new potential issue.

Devin Review


# Temporary PR-only diagnostic: emit status codes, never response bodies or
# credential metadata, to isolate Bytez's persistent authenticated HTTP 500.
if [ "${PR_NUMBER:-}" = "1473" ] && [ -n "${BYTEZ_API_KEY:-}" ]; then

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.

🟡 Unrelated pull requests trigger diagnostics

Any repository's pull request 1473 satisfies PR_NUMBER without a repository check. Its reviews send four unintended Bytez requests and can add two minutes.

Suggested change
if [ "${PR_NUMBER:-}" = "1473" ] && [ -n "${BYTEZ_API_KEY:-}" ]; then
if [ "${TARGET_REPOSITORY:-${GITHUB_REPOSITORY:-}}" = "ContextualWisdomLab/.github" ] && [ "${PR_NUMBER:-}" = "1473" ] && [ -n "${BYTEZ_API_KEY:-}" ]; then
Devin Review

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

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