Skip to content

test: optional live SSE dogfood capture (#65) - #168

Draft
askmy-stack wants to merge 1 commit into
mainfrom
cursor/dogfood-sse-c2a5
Draft

askmy-stack wants to merge 1 commit into
mainfrom
cursor/dogfood-sse-c2a5

Conversation

@askmy-stack

Copy link
Copy Markdown
Owner

Summary

Adds an optional live SSE dogfood capture path for #65: pytest.mark.integration test that asserts mcp-sse, non-empty tools, and no auth secrets in snapshot JSON; skips in default PR CI when credentials are absent; capture-only (never executes tools). Documents the manual/nightly recipe in docs/downstream.md and ships an opt-in workflow gated by ENABLE_DOGFOOD_SSE.

Type of change

  • Tests / CI
  • Documentation

Test plan

  • ruff check .
  • ruff format --check .
  • mypy src
  • pytest (integration test skipped without env)
  • Manual CLI check with live SSE URL + token when available

Notes for reviewers

  • Env: TOOL_SEMANTICS_DOGFOOD_SSE_URL / TOOL_SEMANTICS_DOGFOOD_SSE_TOKEN (aliases: MARKET_PULSE_*)
  • Workflow .github/workflows/dogfood-sse.yml is no-op until repo variable ENABLE_DOGFOOD_SSE=true and secrets are set
  • Link from docs/downstream.md → tests/test_dogfood_sse.py
Open in Web Open in Cursor 

Add pytest.mark.integration capture-only dogfood test (skips without
URL/token env), document manual/nightly recipe in docs/downstream.md,
and ship an opt-in Dogfood SSE workflow gated by ENABLE_DOGFOOD_SSE.

Co-authored-by: Abhinaysai Kamineni  <askmy-stack@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

2 participants