ci: add schedule trigger to publish-docs workflow - #235
Closed
etserend wants to merge 6 commits into
Closed
Conversation
Verbatim copy of workshop/healthcare-assistant/2-app-with-instrumentation. No changes — establishes a clean baseline to diff SDK migration against. Shared docs/ (qa.csv, relational_patient.csv) copied from workshop parent.
- Replace galileo imports with splunk_ao throughout all modules - Add create_chat_llm() / create_embeddings() factory functions in config.py to support both Azure OpenAI and direct OpenAI via AZURE_OPENAI_ENDPOINT - Use splunk_ao_context + SplunkAOAsyncCallback for LangChain instrumentation - Fix hallucination_helpers: set_session() instead of start_session() to skip CRUD REST call (no SPLUNK_AO_O11Y_API_TOKEN required) - Fix agent-with-instrumentation: wrap start_session() in try/except so CRUD failures are non-fatal - Fix Dockerfile: use COPY . /app/ instead of workshop-relative paths - Add .gitignore (.env.* pattern), .env.example, and pyproject.toml (uv workspace pointing to local splunk-ao source for dev) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds a self-contained hosted/ subdirectory for running the agent as a scheduled load generator (CronJob) against a Splunk O11y backend: - run_demo_session.py: entrypoint that fires example_queries from config.yaml through the instrumented agent, then logs one hallucination, all under a single session ID per run - Dockerfile: multi-stage build; installs splunk-ao from repo src/ so the image always uses the same SDK version as the example (build from repo root) - k8s.yaml: ConfigMap + CronJob manifest (hourly schedule); all credentials via secretKeyRef — no hardcoded values Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…ocal run Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
… healthcare-assistant - Use set_session() instead of start_session() in agent-with-instrumentation.py to avoid CRUD HTTP calls that hung indefinitely in hosted environments - Remove start_session() and flush() from hallucination_helpers.py for the same reason; conclude() enqueues spans automatically, flush() is not needed - Remove OPENAI_API_KEY and OPENAI_BASE_URL from setup_env.py required vars (Azure path) - Replace personal registry, project, and environment values in k8s.yaml and hosted/README.md with generic placeholders Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
Author
|
Closing — replaced by #236 which is based on latest main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a weekly schedule trigger to the publish-docs workflow.
Temporary cron
30 17 * * 4(today ~1h from now) for validation — will be updated to0 15 * * 1(Monday 7 AM PST) once confirmed working.