test: add offline quickstart smoke path#234
Conversation
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
🧰 Additional context used📓 Path-based instructions (1)Gradata/tests/**/*.py📄 CodeRabbit inference engine (Gradata/AGENTS.md)
Files:
🔇 Additional comments (7)
📝 Walkthrough
WalkthroughThe PR adds an offline quickstart verification path with documentation, a Python example script demonstrating credential-free brain initialization and SDK operations, and a pytest test that validates the example runs successfully in isolation without cloud dependencies. ChangesOffline Quickstart Smoke Test
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.22.0)OpenGrep fatal error (exit code 2): �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m Comment |
Summary
examples/offline_quickstart_smoke.py, a zero-credential smoke path that runs directly from a source checkout.gradata init --no-interactive) plus SDK output/correction/search/health/manifest calls against a temporary local SQLite brain.Test Plan
python3 examples/offline_quickstart_smoke.pyok: true,cli_manifest_domain: Sales,OUTPUT: 1,CORRECTION: 1,search_results: 1python3 -m pytest tests/test_offline_quickstart_smoke.py -q1 passed in 0.69spython3 -m py_compile examples/offline_quickstart_smoke.py tests/test_offline_quickstart_smoke.pyNotes:
python3 -m ruff ...was attempted in the original worktree butruffis not installed in the active Python (No module named ruff), so syntax compile was used as local fallback.Closes GRA-1783