0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Ward Peeters
bdeaef58f0
chore: migrate linting to oxlint (#20173)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Mastra Code (openai/gpt-5.6-sol) <noreply@mastra.ai>
2026-07-25 01:04:02 +02:00
Eric Pinzur
83b08dcf1b
fix observability tests and add them to CI (#9316)
## Description

* Fixes broken Observability tests, and adds them to CI so we can
actually know if things are broken :)
* Note, I confirmed the Observablity CI tests are working as expected by
forcing them to run on this branch, and then reverting that change.
* Adds a test confirming Observability imports are correct
* Fixed broken Observability imports
* Moves `Otel-Exporter` to use `BaseExporter` class
* Updated `vitest.config.json` in `observability/` paths to match others
elsewhere in the repo.
* Improved functionality of `pnpm run test:observability`:

	# Test all observability packages with unified summary
	`pnpm test:observability`
	
	# Test a specific observability package
	`pnpm test:observability otel-exporter`
	`pnpm test:observability langfuse`
	`pnpm test:observability braintrust`
	
# Filter by test file across all observability packages (unified
results)
	`pnpm test:observability src/ai-tracing.test.ts`
	
	# Test a specific file in a specific package
	`pnpm test:observability otel-exporter src/ai-tracing.test.ts`


## Related Issue(s)

#6773

Fixes #9272
Fixes #9276

## Type of Change

- [X] Bug fix (non-breaking change that fixes an issue)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Code refactoring
- [ ] Performance improvement
- [X] Test update

## Checklist

- [ ] I have made corresponding changes to the documentation (if
applicable)
- [X] I have added tests that prove my fix is effective or that my
feature works
2025-10-28 08:51:33 +01:00