curved-angle-80449
11/06/2025, 4:46 PMcalm-artist-7206
11/06/2025, 5:14 PMchilly-france-44439
11/06/2025, 5:15 PMcalm-artist-7206
11/06/2025, 5:22 PMcurved-angle-80449
11/06/2025, 5:30 PMquiet-night-61895
11/06/2025, 5:31 PMquiet-night-61895
11/06/2025, 5:35 PMchilly-france-44439
11/06/2025, 5:36 PMchilly-france-44439
11/06/2025, 5:37 PMtest-examples on a PR, it will run all examples with a real (cheap) LLM to make sure every usage example is working šquiet-night-61895
11/06/2025, 5:42 PMshell: bash which adds
set -euo pipefail
So failures won't get masked.chilly-france-44439
11/06/2025, 5:42 PMnutritious-balloon-65098
11/06/2025, 5:43 PMnutritious-balloon-65098
11/06/2025, 5:47 PM.github/workflows/run-examples.yml
Changes Made:
1. ā
Added shell: bash to the "Run examples" step - the main long-running script that tests examples with a real LLM
2. ā
Removed redundant set -e - no longer needed since shell: bash automatically applies set -euo pipefail
3. ā
Added shell: bash to the "Read examples report" step for consistency
Benefits
The shell: bash directive automatically adds set -euo pipefail which provides:
⢠-e: Exit immediately on any command failure
⢠-u: Treat unset variables as errors
⢠-o pipefail: Ensure failures in piped commands aren't masked
This follows GitHub Actions best practices and ensures workflow failures are properly detected and reported, addressing Ray's observation that "failures won't get masked."
Status
⢠ā
Branch pushed: use-shell-bash-in-workflow
⢠ā
PR created and ready for review
⢠ā
Pre-commit hooks passed (yamlfmt)
⢠ā
Co-authored-by attribution included
<sub>View full conversation</sub>quiet-night-61895
11/06/2025, 5:48 PMchilly-france-44439
11/06/2025, 5:50 PMcalm-artist-7206
11/07/2025, 6:13 PMnutritious-balloon-65098
11/07/2025, 6:13 PMcalm-artist-7206
11/07/2025, 6:13 PMcalm-artist-7206
11/07/2025, 6:50 PM- classify breaking vs non-breaking changes
- fail if breaking changes exist and the SDK version is not a major bumpMe: minor, we could enforce a minor bump... ... what did I just say hey at least we don't make it patch lolsob
quiet-night-61895
11/07/2025, 7:01 PM