Skip to content

test: HAR/SCS search and deep link regression coverage (#1030) - #1044

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/regression-test-coverage-automation-0e49
Draft

cursor[bot] wants to merge 1 commit into
mainfrom
cursor/regression-test-coverage-automation-0e49

Conversation

@cursor

@cursor cursor Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Description

Adds regression tests for production fixes merged in #1030 that had no dedicated coverage:

  • HAR registries list ops must send the search_term query key (not the non-existent search key)
  • Artifact list deep links must not leave {artifactIdentifier} unresolved
  • Registry create schema docs must mention UPSTREAM config.authType
  • SCS artifact deep link templates must align {artifact} placeholders with pathParams
  • compactItems must preserve SCS list marker fields _summary, _message, _result

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other — test coverage

Checklist

  • pnpm test passes (targeted + full suite on changed files)
  • pnpm typecheck passes
  • pnpm build passes
  • pnpm standards:check passes
  • pnpm docs:check passes

Risk reduced

Behavior Why it matters
Silent search filter no-op on HAR registry/artifact lists Agents believe they filtered results when the API ignored the query
Broken openInHarness links for artifacts and SCS resources Users land on invalid Harness UI URLs
Stripped SCS _summary / _message / _result fields Agents lose structured list context after compaction

Test files

  • tests/registry/registries-har-search-deeplinks.test.ts (new)
  • tests/registry/scs.test.ts
  • tests/utils/compact.test.ts
Open in Web View Automation 

Add targeted tests for merged registry query-param, deep link, and
compact marker field behavior that previously had no automated coverage.

Co-authored-by: Rohan Gupta <thisrohangupta@users.noreply.github.com>
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