Skip to content

CPLAT-11790: repair master test build after concurrent search PRs - #163

Merged
gavin-jeong merged 1 commit into
masterfrom
fix-master-test-build
Aug 30, 2026
Merged

gavin-jeong merged 1 commit into
masterfrom
fix-master-test-build

Conversation

@gavin-jeong

Copy link
Copy Markdown
Collaborator

JIRA: https://sendbird.atlassian.net/browse/CPLAT-11790

Problem

master CI is currently failing (run on a8c00d6).

#160 added a SearchMode argument to updateSearchResults; #162 added tests that call it. Both were green on their own branches, and neither touched the other's files — so git merged them without conflict, and the merged tree does not compile:

vet: internal/tui/search_resume_test.go:17: not enough arguments in call to a.updateSearchResults
     have ([]session.SearchResult)
     want ([]session.SearchResult, session.SearchMode)

This is the semantic-conflict class that a textual merge cannot catch: each PR was correct against the base it was tested on.

Scope

Production code is unaffectedgo build ./... passes on master today. Only the test callers are stale, so the breakage is CI-only, not user-facing.

Fix

Pass SearchModeScan at the three call sites. That is the mode these tests were written against — they exercise live badges and resume behavior, not index coverage, so the mode is incidental to what they assert.

Verification

  • go vet ./... clean, full suite green.
  • Confirmed the three merged features coexist: 28 tests across the FTS index, highlight, navigation-freeze, and search-resume work all pass together on the merged tree.

#160 added a SearchMode argument to updateSearchResults while #162 added
tests that call it. Both were green on their own branches and neither
touched the other's files, so git merged them without conflict — but the
merged tree does not compile:

  vet: search_resume_test.go:17: not enough arguments in call to
       a.updateSearchResults
       have ([]session.SearchResult)
       want ([]session.SearchResult, session.SearchMode)

Production code is unaffected (go build passes); only the test callers
are stale. Pass SearchModeScan, which is what these tests were written
against — they exercise live badges and resume, not index coverage.
@upwind-code-us

upwind-code-us Bot commented Aug 30, 2026

Copy link
Copy Markdown

Upwind Upwind Code Scan - ✅ Proceed with Deployment

0 newly introduced vulnerabilities · 0 resolved · 1 total in this PR vs master

🔶 1 High

View full analysis in Upwind Console

Scan completed in 19s

Scan history (1 scan)
Commit Scanned at New Resolved Net
30bc32f < 2026-08-30 12:48 UTC 0 0 0

Last scanned: 30bc32f · 2026-08-30 12:48 UTC

@upwind-code-us

upwind-code-us Bot commented Aug 30, 2026

Copy link
Copy Markdown

Upwind Upwind IaC Scan - ✅ Proceed with Deployment

0 newly introduced misconfigurations · 0 resolved · 0 total in this PR vs main

View full analysis in Upwind Console →

Scan completed in 3s

Scan history (2 scans)
Commit Scanned at New Resolved Net
30bc32f 2026-08-30 12:48 UTC
30bc32f < 2026-08-30 12:48 UTC 0 0 0

Last scanned: 30bc32f · 2026-08-30 12:48 UTC

@Kairo-Kim Kairo-Kim added the auto-review/approved Auto-approved by the Slack auto-reviewer bot label Aug 30, 2026

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

LGTM!

@gavin-jeong
gavin-jeong merged commit d939cc9 into master Aug 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-review/approved Auto-approved by the Slack auto-reviewer bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants