Skip to content

+ a fast tier on every working-branch push - #13

Merged
Hawkynt merged 1 commit into
mainfrom
ci/smoke-tier
Sep 2, 2026
Merged

+ a fast tier on every working-branch push#13
Hawkynt merged 1 commit into
mainfrom
ci/smoke-tier

Conversation

@Hawkynt

@Hawkynt Hawkynt commented Sep 2, 2026

Copy link
Copy Markdown
Owner

A push to a working branch only regenerated derived files. The first real feedback came from opening a pull request, which runs the whole matrix — so the expensive tier became the thing people use to find out whether their code compiles, running ten times per change instead of once.

push to a working branch  ->  smoke.yml (+ generate.yml)   fast, one OS
pull request              ->  ci.yml                       the gate: every OS, every category
push to main              ->  nothing                      the pull request was already green

smoke.yml calls the shared dotnet-smoke.yml@v1: one OS, fast tests only, no coverage, no package-README check, twenty-minute cap.

A test is in the fast tier unless it says otherwise[Category("Slow")], or one of the categories that are slow by nature (EndToEnd, OsIntegration, ExternalInterop, PolyglotInterop, Performance), takes it out. That direction, not the inverse: tagging every fast test would mean touching thousands and remembering each new one, and the one somebody forgets drops out silently.

Opting out defers a test, it never skips one. The pull request still runs everything; the tiers decide when, not whether.

The convention and its rationale live in RepositoryTemplate CONTRIBUTING.md and AGENTS.md.

A push only regenerated derived files; the first real feedback came from
opening a pull request, which runs the whole matrix. That makes the
expensive tier the thing people use to find out whether their code
compiles, so it runs ten times per change instead of once.

smoke.yml calls the shared dotnet-smoke.yml: one OS, fast tests only, no
coverage, no package-README check, twenty-minute cap. A test is in that
tier unless it says otherwise -- Slow, or one of the categories that are
slow by nature, takes it out. Opting out defers a test rather than skipping
it: the pull request still runs everything.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 006dc21446

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,20 @@
name: Smoke

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Document the new smoke tier in the workflow guide

Adding this workflow changes the repository's CI behavior, but .github/workflows/README.md still omits smoke.yml from both its file inventory and pipeline diagram, despite claiming to describe everything in the folder. Contributors will therefore see an incorrect branch-push feedback path; update that workflow guide alongside this behavior change.

AGENTS.md reference: AGENTS.md:L31-L35

Useful? React with 👍 / 👎.

@Hawkynt
Hawkynt merged commit 590ea3c into main Sep 2, 2026
7 checks passed
@Hawkynt
Hawkynt deleted the ci/smoke-tier branch September 2, 2026 17:12
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