Skip to content

ci: add schedule trigger to publish-docs workflow - #235

Closed
etserend wants to merge 6 commits into
mainfrom
SAO-16402-publish-docs-schedule
Closed

ci: add schedule trigger to publish-docs workflow#235
etserend wants to merge 6 commits into
mainfrom
SAO-16402-publish-docs-schedule

Conversation

@etserend

Copy link
Copy Markdown
Contributor

Adds a weekly schedule trigger to the publish-docs workflow.

Temporary cron 30 17 * * 4 (today ~1h from now) for validation — will be updated to 0 15 * * 1 (Monday 7 AM PST) once confirmed working.

etserend and others added 6 commits August 25, 2026 13:36
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>
@etserend

Copy link
Copy Markdown
Contributor Author

Closing — replaced by #236 which is based on latest main.

@etserend etserend closed this Aug 27, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant