Skip to content

chore: format code - #61

Merged
jrandolf-old merged 2 commits into
mainfrom
chore/format-code
Feb 25, 2026
Merged

chore: format code#61
jrandolf-old merged 2 commits into
mainfrom
chore/format-code

Conversation

@jrandolf-old

Copy link
Copy Markdown

Summary

  • Format code across multiple source files (config, mcp, secrets, template, tests)
  • Fix incorrect rerank mock indices in search_service test — BTreeMap iterates alphabetically so github.create_issue is index 0 and github.search_issues is index 1; the mock was mapping them in reverse

Test Plan

  • cargo test passes locally

Randolf Jung and others added 2 commits February 25, 2026 03:23
BTreeMap iterates in alphabetical key order, so github.create_issue
(index 0) comes before github.search_issues (index 1). The mock was
returning index 1 with score 0.99, which mapped to search_issues, not
create_issue as intended.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jrandolf-old
jrandolf-old merged commit 3181c98 into main Feb 25, 2026
9 checks passed
@jrandolf-old
jrandolf-old deleted the chore/format-code branch February 25, 2026 11:37
jrandolf-old pushed a commit that referenced this pull request Aug 3, 2026
## Summary
- Format code across multiple source files (config, mcp, secrets,
template, tests)
- Fix incorrect rerank mock indices in `search_service` test —
`BTreeMap` iterates alphabetically so `github.create_issue` is index 0
and `github.search_issues` is index 1; the mock was mapping them in
reverse

## Test Plan
- [x] `cargo test` passes locally

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.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