Skip to content

fix prod - #165

Merged
yashdev9274 merged 1 commit into
mainfrom
supercode-cli
Jul 3, 2026
Merged

fix prod#165
yashdev9274 merged 1 commit into
mainfrom
supercode-cli

Conversation

@yashdev9274

@yashdev9274 yashdev9274 commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Description

Please include a summary of the change and which issue is fixed.

Fixes #(issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • bun test passes
  • bun run typecheck passes
  • bun run lint passes (if applicable)

Checklist:

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Summary by CodeRabbit

  • Bug Fixes

    • Improved error messages for web and page-fetch fallbacks when external search services are unavailable.
    • Added clearer, more specific guidance with the underlying failure details and suggested alternatives for continued use.
  • Chores

    • Bumped the server package version to 0.1.36.

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
supercli Ready Ready Preview, Comment Jul 3, 2026 8:37am
supercli-client Ready Ready Preview, Comment Jul 3, 2026 8:37am
supercli-docs Ready Ready Preview, Comment Jul 3, 2026 8:37am

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Jul 3, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 473aaafe-5062-4821-a3cd-2c36c0245356

📥 Commits

Reviewing files that changed from the base of the PR and between aa6f5bd and 45596e1.

📒 Files selected for processing (3)
  • apps/supercode-cli/server/package.json
  • apps/supercode-cli/server/src/lib/firecrawl.ts
  • apps/supercode-cli/server/src/tools/definitions/web-search.ts

Walkthrough

This PR updates proxy-fallback error responses in Firecrawl and web-search tools to include the underlying proxy error message and fallback guidance (web_search/url_fetch) instead of generic "not configured" text, and bumps the server package version.

Changes

Proxy Fallback Error Messaging

Layer / File(s) Summary
Firecrawl proxy fallback message
apps/supercode-cli/server/src/lib/firecrawl.ts
Error and hint messages now include proxy.error and suggest web_search/url_fetch fallbacks when FIRECRAWL_API_KEY is missing.
Web-search proxy fallback message
apps/supercode-cli/server/src/tools/definitions/web-search.ts
Error and hint fields now include proxy.error details before existing alternative guidance when Google API credentials are missing.
Version bump
apps/supercode-cli/server/package.json
Package version bumped from 0.1.35 to 0.1.36.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

A proxy stumbled, gave a sigh,
Now its reason won't pass by—
Errors speak plain, hints point the way,
To web_search, url_fetch, hooray!
Version hopped from .35 to .36 today. 🐇✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is too vague and does not clearly describe the actual changes in the pull request. Use a specific title that names the main change, such as improving proxy fallback errors for Firecrawl and web search.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch supercode-cli

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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.

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