Skip to content

Phase 4 production hardening - #19

Merged
FarhadShariatzadeh merged 3 commits into
mainfrom
phase-4-production-hardening
May 3, 2026
Merged

FarhadShariatzadeh merged 3 commits into
mainfrom
phase-4-production-hardening

Conversation

@FarhadShariatzadeh

Copy link
Copy Markdown
Owner

No description provided.

Farhad Shariatzadeh and others added 3 commits May 2, 2026 19:04
…ock data

The Chat tab uses FunctionChoiceBehavior.Auto() so the LLM automatically calls
get_error_logs() when asked to find issues. This plugin had 10 hardcoded fake
StackPilot log entries (rate limits, embedding failures, etc.) that were returned
regardless of what the user actually uploaded — making it look like the store was
never cleared.

Plugin now injects ISearchService and runs live vector searches, so it queries
only the content the user has actually ingested in the Logs tab.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Old tests instantiated LogSearchPlugin() with no args and called sync methods —
both invalid after the plugin was wired to ISearchService.

Tests now use a file-scoped StubSearchService, call methods with await, and cover:
- results returned from the search service
- empty-store messages when the stub returns nothing
- empty-query validation error
- multi-chunk delimiter formatting

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
release.yml now triggers on push to main (i.e. every PR merge) instead of
requiring a manual git tag push.

Versioning: VERSION file holds MAJOR.MINOR (e.g. 1.1); the GitHub run number
is appended as PATCH, so releases look like v1.1.42, v1.1.43, ...
The workflow creates and pushes the tag itself, builds all three OS artifacts
in parallel, then publishes the GitHub release.

To bump major or minor, just edit VERSION and merge.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@FarhadShariatzadeh
FarhadShariatzadeh merged commit 115d72a into main May 3, 2026
2 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.

1 participant