Skip to content

test: make example descriptors opt-in - #277

Merged
tconley1428 merged 2 commits into
mainfrom
moe/up/example-descriptors-opt-in
Oct 23, 2026
Merged

tconley1428 merged 2 commits into
mainfrom
moe/up/example-descriptors-opt-in

Conversation

@moetemp

@moetemp moetemp commented Oct 23, 2026

Copy link
Copy Markdown
Contributor

What changed?

This PR makes the descriptors key of advanced/samples/inputs/examples.toml opt-in, as in the compiler rejection fixtures. An example with no descriptors gets no descriptor set. The seven examples that need the Temporal set say descriptors = "temporal". A list still names files in advanced/samples/descriptors/, since an example has no case directory.

Why?

#274 said example descriptors had the same shape as the fixtures, but its default was the opposite. Examples got temporal_api.bin unless they listed something else.

How did you test it?

cargo build-examples leaves every generated file as it is on main. The five other examples build the same output with no descriptor set.

The doc comment said examples match the fixtures, but their default was the opposite.
@moetemp
moetemp requested a review from a team as a code owner October 23, 2026 19:18
@tconley1428 tconley1428 added the skip-changelog No user-facing changelog fragment required label Oct 23, 2026
@tconley1428
tconley1428 merged commit 520eb23 into main Oct 23, 2026
5 of 6 checks passed
@tconley1428
tconley1428 deleted the moe/up/example-descriptors-opt-in branch October 23, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog No user-facing changelog fragment required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants