Skip to content

fix: return diagnose log download URLs on request#357

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/harness-mcp-v2-bug-resolution-5c09
Draft

fix: return diagnose log download URLs on request#357
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/harness-mcp-v2-bug-resolution-5c09

Conversation

@cursor

@cursor cursor Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Description

harness_diagnose now honors options.return_download_url for pipeline logs, returning signed logs.zip URLs for failed-step logs and requested-step logs instead of downloading and buffering inline log content. The default inline-log behavior is unchanged.

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other

Checklist

  • Tests pass
  • Typecheck passes

Verification:

  • pnpm exec vitest run "tests/tools/diagnose/pipeline.test.ts" -t "return.*download URL"
  • pnpm exec vitest run "tests/tools/diagnose/pipeline.test.ts"
  • pnpm exec vitest run "tests/tools/tool-handlers.test.ts" -t "harness_get — execution_log|harness_diagnose"
  • pnpm build
  • pnpm docs:generate
  • pnpm typecheck && pnpm docs:check && pnpm test
Open in Web View Automation 

Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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