Skip to content

Comments

Reorganize the truss-examples folder#547

Open
pat-baseten wants to merge 4 commits intomainfrom
pat/cor-1127
Open

Reorganize the truss-examples folder#547
pat-baseten wants to merge 4 commits intomainfrom
pat/cor-1127

Conversation

@pat-baseten
Copy link

Towards Cor-1127

Before: ~90 flat root directories with no organization; inconsistent configs (unpinned deps, missing fields, float spec_versions); broken CI (Poetry references to deleted files); no local validation.

After: Task-first taxonomy (7 categories: tutorials/, llm/, embeddings/, image/, audio/, optimized/, infrastructure/); 307 configs fixed to consistent standards; 11-test validation suite (2393 assertions); all 4 CI workflows repaired; contributor rules in .claude/CLAUDE.md enforced by tests and LLM-assisted contributions.

@linear
Copy link

linear bot commented Feb 12, 2026

Remove unused import and fix f-string without placeholders in
generate_readmes.py. Apply ruff formatting to 13 files.
The 348-line ci.yaml required manual updates for every new example,
causing CI failures when entries were missed. CI now auto-discovers
examples by walking for config.yaml directories, with an opt-out
ci_excludes.yaml for exceptions.

Also hardens the GitHub Actions workflow per best practices:
- Pin all actions to SHA commits instead of floating tags
- Add top-level permissions (contents: read)
- Add timeout-minutes to all jobs
- Add pip caching to setup-python steps
@squidarth squidarth requested a review from dsingal0 February 17, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant