Latest Results
Ci conditional auto-pass (#2973)
# Pull Request Template
Thanks for taking the time to fill out this pull request!
## Issue Reference
Please link to any related issues
- [ ] This PR fixes/closes #[issue number]
## Changes
Please describe the changes proposed in this pull request
This PR implements conditional skipping for `BAML Runtime` CI jobs in
`.github/workflows/primary.yml` to optimize CI time.
- A new `determine_changes` job identifies if changes in a PR are *only*
within `baml_language/` or `typescript/apps/beps/`.
- If so, all subsequent `BAML Runtime` jobs (e.g., lint, typecheck,
build-wasm, tests) are automatically skipped.
- A `skip-summary` job provides a clear message in the GitHub Actions UI
when tests are skipped.
- Full `BAML Runtime` CI runs are preserved for changes affecting core
runtime code, scheduled runs, `workflow_dispatch`, and pushes to the
`canary` branch.
## Testing
Please describe how you tested these changes
- [ ] Unit tests added/updated
- [x] Manual testing performed (Logic validated by assistant)
- [ ] Tested in [environment]
## Screenshots
If applicable, add screenshots to help explain your changes
[Add screenshots here...]
## PR Checklist
Please ensure you've completed these items
- [x] I have read and followed the contributing guidelines
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
## Additional Notes
Add any other context about the PR here
The `BAML Runtime` CI jobs will now auto-pass if *only* files within
`baml_language/` or `typescript/apps/beps/` are modified. Changes to
`engine/`, `integ-tests/`, `.github/workflows/primary.yml`,
`.github/actions/`, or other `typescript/` directories will still
trigger a full runtime CI run.
---
[Slack
Thread](https://gloo-global.slack.com/archives/C09F3QMJE9G/p1768283288682019?thread_ts=1768283288.682019&cid=C09F3QMJE9G)
<a
href="https://cursor.com/background-agent?bcId=bc-04d8376f-4f31-471e-990f-05180d5ccb5b"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-cursor-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in
Cursor"
src="https://cursor.com/open-in-cursor.svg"></picture></a> <a
href="https://cursor.com/agents?id=bc-04d8376f-4f31-471e-990f-05180d5ccb5b"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/open-in-web-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web"
src="https://cursor.com/open-in-web.svg"></picture></a>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com> aaron/parser5 (#2971)
- **add error recovery in parser in a couple more spots**
- **fix duplicate diagnostics**
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> - **Parser error recovery and UX**: Adds recovery for invalid blocks
(e.g., `classs`), invalid type aliases (`typpe`), and old-style function
syntax; clearer messages for path identifiers in types; robust
tuple-type recovery.
> - **Nested generics support**: Introduces `expect_greater` and
tracking for split `>>`, with `type_args_depth` and unmatched `>`
detection; prevents cascading errors across type boundaries; applied in
`TYPE_ARGS`, `GENERIC_ARGS`, and client type parsing.
> - **HIR duplicate-name diagnostics**: Tracks item `kind` and emits
errors for both first and duplicate definitions with accurate name spans
via `get_item_name_span`.
> - **Tests**: Updates snapshots and adds cases covering improved spans,
recovery paths, and extra-`>` handling in classes, functions, and
aliases.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
a8ce64e8aab07d95ea4842c4021ac349184ce867. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY --> Active Branches
#2957-51%
#2963+1%
#2918-4%
© 2026 CodSpeed Technology