Skip to content

lisa/feat/bch-1309-core-suggestion-engine#418

Merged
gusfcarvalho merged 6 commits into
mainfrom
lisa/feat/bch-1309-core-suggestion-engine
Jun 15, 2026
Merged

lisa/feat/bch-1309-core-suggestion-engine#418
gusfcarvalho merged 6 commits into
mainfrom
lisa/feat/bch-1309-core-suggestion-engine

Conversation

@ccf-lisa

@ccf-lisa ccf-lisa Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

automated implementation by lisa.

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

Findings inline. The lint blocker from the previous HEAD is already fixed by fc928e7 (lint now green), so this round drops it. Remaining: one Medium determinism issue (gather.go SampleTitles arbitrary subset — the pass-4 self-review note that's still open), plus Low/nit items (unstable accept tie-break, uncorrelated control_implementations join, UTF-8-unsafe byte truncation, an apparently-unused VisibleFilters field). Nice work — the canonical-hash dedupe, advisory-lock concurrency guard, and SSP-isolation paths are all well-covered by tests.

Comment thread internal/service/relational/suggestions/gather.go Outdated
Comment thread internal/service/relational/suggestions/service.go Outdated
Comment thread internal/service/relational/suggestions/gather.go Outdated
Comment thread internal/service/relational/suggestions/validation.go Outdated
Comment thread internal/service/relational/suggestions/validation.go

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

Approving. Commit 206848a resolves all findings from the prior round, each with a regression test, and CI is fully green (lint, unit, integration, check-diff):

  • SampleTitles determinism — now accumulates all titles then sorts/dedupes/caps to 3 (integration test asserts a stable subset).
  • Accept tie-break — secondary keys are now ProposedFilterName then suggestion ID.
  • control_implementations — replaced the uncorrelated join with a correlated LATERAL aggregate, so duplicate/empty implementations can't shadow the real text (covered by a new integration test).
  • UTF-8 truncation — shared rune-aware truncateRunes helper across all four sites (unit tests confirm valid UTF-8 + exact rune counts).

Verified locally: build, vet, golangci-lint (0 issues), go test and gofmt all clean. Nice work.

@ccf-lisa

ccf-lisa Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

PR approved. Marking as ready for e2e.

@gusfcarvalho gusfcarvalho merged commit 7781991 into main Jun 15, 2026
4 checks passed
@gusfcarvalho gusfcarvalho deleted the lisa/feat/bch-1309-core-suggestion-engine branch June 15, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant