Skip to content

fix(skills): consolidate EmbedUnsupported warnings into single summary#1703

Merged
bug-ops merged 5 commits intomainfrom
skill-embedding-warnings-spam
Mar 13, 2026
Merged

fix(skills): consolidate EmbedUnsupported warnings into single summary#1703
bug-ops merged 5 commits intomainfrom
skill-embedding-warnings-spam

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Mar 13, 2026

Summary

  • SkillMatcher::new() no longer emits one WARN per skill when the provider does not support embeddings
  • All EmbedUnsupported errors are collected and summarised into a single warning: skill embeddings skipped: embedding not supported by claude (14 skills affected)
  • Timeout and other per-skill errors continue to be logged individually
  • Adds two tests: test_matcher_new_returns_none_when_all_unsupported and test_matcher_new_partial_unsupported_falls_back_to_supported

Closes #1387

Test plan

  • cargo clippy --workspace --features full -- -D warnings passes
  • cargo nextest run --config-file .github/nextest.toml --workspace --features full --lib --bins — 5303 tests pass

When a provider does not support embeddings (e.g. claude), SkillMatcher::new()
previously emitted one WARN per skill, producing 14 identical log entries on
startup. All EmbedUnsupported errors are now collected and emitted as a single
summary warning: "skill embeddings skipped: embedding not supported by <provider>
(N skills affected)". Timeout and other per-skill errors continue to be logged
individually. Adds two tests covering the all-unsupported and partial-unsupported
cases.

Closes #1387
@github-actions github-actions Bot added documentation Improvements or additions to documentation skills zeph-skills crate rust Rust code changes bug Something isn't working size/M Medium PR (51-200 lines) labels Mar 13, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 13, 2026 22:22
@bug-ops bug-ops merged commit a38d32f into main Mar 13, 2026
15 checks passed
@bug-ops bug-ops deleted the skill-embedding-warnings-spam branch March 13, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation rust Rust code changes size/M Medium PR (51-200 lines) skills zeph-skills crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill embedding warnings spam: 14 WARN per startup with claude provider

1 participant