Skip to content

Add sample metadata configuration - #11498

Merged
Timothee Guerin (timotheeguerin) merged 6 commits into
microsoft:mainfrom
timotheeguerin:samples/config
Aug 7, 2026
Merged

Timothee Guerin (timotheeguerin) merged 6 commits into
microsoft:mainfrom
timotheeguerin:samples/config

Conversation

@timotheeguerin

@timotheeguerin Timothee Guerin (timotheeguerin) commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

Summary

  • add Azure-compatible sample-config.yaml metadata to the curated sample tree
  • add typed discovery and strict validation in @typespec/samples
  • cover ordering, inherited exclusions, malformed metadata, duplicates, and missing entrypoints

Stack

Depends on #11497.

  1. Curate TypeSpec samples #11497
  2. Add sample metadata configuration (this PR)
  3. Source playground examples from samples #11499

Native stacked PRs are disabled for this repository, so each draft temporarily targets main; this diff contracts after the preceding layer merges.

@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk-automation

azure-sdk-automation Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

Timothee Guerin (timotheeguerin) added a commit to timotheeguerin/typespec that referenced this pull request Aug 4, 2026
## Summary

- remove obsolete AutoRest test-server mappings and redundant low-level
samples
- add seven focused, categorized samples for HTTP, REST, language
features, and emitters
- update sample dependencies and generated snapshots

## Stack

1. **Curate TypeSpec samples** (this PR)
2. microsoft#11498
3. microsoft#11499

Native stacked PRs are disabled for this repository, so each draft
temporarily targets `main`; upper diffs contract as lower layers merge.
Merged via the queue into microsoft:main with commit 4691031 Aug 7, 2026
32 checks passed
@timotheeguerin
Timothee Guerin (timotheeguerin) deleted the samples/config branch August 7, 2026 02:00
Timothee Guerin (timotheeguerin) added a commit to timotheeguerin/typespec that referenced this pull request Aug 28, 2026
## Summary

- generate the playground sample manifest from `packages/samples`
metadata
- derive categories, emitter choice, and inherited linter configuration
- remove the seven duplicate playground sample files
- validate generated samples and configuration edge cases

## Stack

Depends on microsoft#11498 (and
microsoft#11497).

1. Curate TypeSpec samples
2. Add sample metadata configuration
3. **Source playground examples from samples** (this PR)

This PR temporarily targets `main` because native stacked PRs are
disabled for this repository; its diff contracts after the preceding
layers merge.
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.

2 participants