Skip to content

Curate TypeSpec samples - #11497

Merged
Timothee Guerin (timotheeguerin) merged 2 commits into
microsoft:mainfrom
timotheeguerin:samples/curate
Aug 4, 2026
Merged

Timothee Guerin (timotheeguerin) merged 2 commits into
microsoft:mainfrom
timotheeguerin:samples/curate

Conversation

@timotheeguerin

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

Copy link
Copy Markdown
Member

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. Add sample metadata configuration #11498
  3. Source playground examples from samples #11499

Native stacked PRs are disabled for this repository, so each draft temporarily targets main; upper diffs contract as lower layers merge.

@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

Merged via the queue into microsoft:main with commit 3a3d72a Aug 4, 2026
31 of 32 checks passed
@timotheeguerin
Timothee Guerin (timotheeguerin) deleted the samples/curate branch August 4, 2026 12:14
Yuchao Yan (msyyc) pushed a commit to msyyc/typespec that referenced this pull request Aug 7, 2026
## 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 microsoft#11497.

1. microsoft#11497
2. **Add sample metadata configuration** (this PR)
3. microsoft#11499

Native stacked PRs are disabled for this repository, so each draft
temporarily targets `main`; this diff contracts after the preceding
layer merges.
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