Skip to content

fix(search): observe label search rebuild failures - #684

Merged
XiaoSeS merged 1 commit into
mainfrom
fix/search-rebuild-observability-597
Aug 4, 2026
Merged

fix(search): observe label search rebuild failures#684
XiaoSeS merged 1 commit into
mainfrom
fix/search-rebuild-observability-597

Conversation

@XiaoSeS

@XiaoSeS XiaoSeS commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • retry label search rebuild once for transient failures
  • record skillhub.search.rebuild.failure only after rebuild attempts are exhausted
  • tag failures by trigger=single|batch and keep batch rebuilds continuing after per-skill failure

Scope

#664 already provides async context propagation for the MDC/request/trace part of #597. This PR handles the remaining retry/metric gap without introducing a durable queue.

Closes #597

Verification

  • Java 21 container: mvn -pl skillhub-app -am -Dtest=LabelSearchSyncServiceTest -Dsurefire.failIfNoSpecifiedTests=false test — 4 tests, 0 failures/errors
  • Java 21 container: mvn -pl skillhub-app -am test — 712 tests, 0 failures/errors, 1 skipped

Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
@XiaoSeS
XiaoSeS force-pushed the fix/search-rebuild-observability-597 branch from 41d6240 to b6cd414 Compare August 4, 2026 03:17
@XiaoSeS
XiaoSeS merged commit 51ff9b9 into main Aug 4, 2026
8 checks passed
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.

Label search rebuild: async path loses MDC and has no retry/observability

1 participant