Skip to content

fix(docs): add explicit shutdown to quickstart example#149

Merged
namrataghadi-galileo merged 1 commit into
mainfrom
abhi/quickstart-explicit-shutdown
Mar 26, 2026
Merged

fix(docs): add explicit shutdown to quickstart example#149
namrataghadi-galileo merged 1 commit into
mainfrom
abhi/quickstart-explicit-shutdown

Conversation

@abhinav-galileo

Copy link
Copy Markdown
Collaborator

Summary

  • update the README quickstart async example to call agent_control.ashutdown() in a finally block
  • wrap the snippet with an if __name__ == "__main__": guard
  • add a short note explaining that short-lived scripts should explicitly shut down so observability events flush before exit

Testing

  • make check
  • git push -u origin abhi/quickstart-explicit-shutdown (pre-push hook: lint, typecheck, contrib evaluator checks)

@abhinav-galileo abhinav-galileo changed the title docs: add explicit shutdown to quickstart example fix(docs): add explicit shutdown to quickstart example Mar 26, 2026
@codecov

codecov Bot commented Mar 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@namrataghadi-galileo namrataghadi-galileo merged commit b76014f into main Mar 26, 2026
6 of 7 checks passed
@namrataghadi-galileo namrataghadi-galileo deleted the abhi/quickstart-explicit-shutdown branch March 26, 2026 17:33
galileo-automation pushed a commit that referenced this pull request Apr 7, 2026
## [2.2.0](ts-sdk-v2.1.0...ts-sdk-v2.2.0) (2026-04-07)

### Features

* **evaluators:** add starts_with/ends_with mode to list evaluator ([#154](#154)) ([bf1f7d7](bf1f7d7))
* **sdk:** [Enterprise Integration]: Add provider agnostic traceing ([#145](#145)) ([f1ca27c](f1ca27c))
* **sdk:** Add telemetry package to support sinks ([#164](#164)) ([2186ba1](2186ba1))
* **sdk:** default merge events in SDK ([#155](#155)) ([5984a60](5984a60))
* **server,sdk, ui:** Control Templates ([#158](#158)) ([78bb538](78bb538))
* **server:** Override PG password in dockerfile ([#148](#148)) ([5d70c7d](5d70c7d))
* **server:** Remove container name for dev postgres ([92b2d13](92b2d13))
* **server:** Start local dev pg under docker compose project endign with dev ([88bee63](88bee63))
* **ui, server:** Intuitive JSON editing for Controls ([#151](#151)) ([8c23cef](8c23cef))
* **ui:** add full control JSON editing and create-from-JSON ([#147](#147)) ([e685ed0](e685ed0))

### Bug Fixes

* **docs:** add explicit shutdown to quickstart example ([#149](#149)) ([b76014f](b76014f))
* **sdk:** use sync shutdown flush fallback ([#150](#150)) ([90265ba](90265ba))
* **server:**  remove unused evaluator config store ([#152](#152)) ([dea2873](dea2873))
* **server:** Omit null fields in control JSON editor ([#157](#157)) ([0aa2f3c](0aa2f3c))
* **server:** Update docker-compose.dev.yml to use different container name ([14d4c87](14d4c87))
* **ui:** improve edit control ux, no layout shift, consistent spacing ([#122](#122)) ([76d67b9](76d67b9))
@galileo-automation

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants