From cbbc5e563891dc272367191b93f13a5694dc0663 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 29 Sep 2026 18:43:32 +0000 Subject: [PATCH] docs: add release blog for PR #140 [skip-release] --- README.md | 21 +++ ...elier-store-s-ci-release-and-lint-setup.md | 133 ++++++++++++++++++ docs/blogs/README.md | 7 + 3 files changed, 161 insertions(+) create mode 100644 docs/blogs/2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md create mode 100644 docs/blogs/README.md diff --git a/README.md b/README.md index 74d2841f..583c2df8 100644 --- a/README.md +++ b/README.md @@ -73,3 +73,24 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file ## 🔒 Security For security concerns, please review our [Security Policy](docs/SECURITY.md). + +## Releases + + + +| Version | Date | Title | Blog post | +| ------- | ---- | ----- | --------- | +| [v0.0.1](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1) | 2026-09-29 | ci: Adopt atelier-store's CI, release and lint setup | [Post](https://github.com/mpaulosky/IssueTracker/blob/main/docs/blogs/2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md) | +| [v0.0.1-1170](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1170) | 2026-09-29 | v0.0.1-1170 | — | +| [v0.0.1-1169](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1169) | 2026-09-29 | v0.0.1-1169 | — | +| [v0.0.1-1168](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1168) | 2026-09-29 | v0.0.1-1168 | — | +| [v0.0.1-1167](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1167) | 2026-09-29 | v0.0.1-1167 | — | +| [v0.0.1-1166](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1166) | 2026-09-29 | v0.0.1-1166 | — | +| [v0.0.1-1165](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1165) | 2026-09-29 | v0.0.1-1165 | — | +| [v0.0.1-1164](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1164) | 2026-09-29 | v0.0.1-1164 | — | +| [v0.0.1-1163](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1163) | 2026-09-28 | v0.0.1-1163 | — | +| [v0.0.1-1162](https://github.com/mpaulosky/IssueTracker/releases/tag/v0.0.1-1162) | 2026-09-28 | v0.0.1-1162 | — | + + + +[All releases →](https://github.com/mpaulosky/IssueTracker/releases) diff --git a/docs/blogs/2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md b/docs/blogs/2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md new file mode 100644 index 00000000..69248fcb --- /dev/null +++ b/docs/blogs/2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md @@ -0,0 +1,133 @@ +--- +post_title: "ci: Adopt atelier-store's CI, release and lint setup" +author1: mpaulosky +post_slug: "v0.0.1-pr-140" +microsoft_alias: n/a +featured_image: "" +categories: + - engineering +tags: + - release:v0.0.1 + - automation +ai_note: "Generated by release automation from the PR title, description, commits and changed files. No AI summary." +summary: "Release notes seed for v0.0.1 from PR #140." +post_date: "2026-09-29" +--- +# ci: Adopt atelier-store's CI, release and lint setup + +- **Release tag:** `v0.0.1` +- **Source PR:** [#140](https://github.com/mpaulosky/IssueTracker/pull/140) + +## PR description + +### Summary + +Brings IssueTracker onto atelier-store's hardened workflow baseline, adapted to this repo. + +**CI** +- `ci.yml` replaces `test.yml` and `main-validation.yml`. It builds once, discovers test projects (`IsTestProject` only, so `TestingSupport.Library` is skipped), and runs them as a matrix. It also produces coverage (60% gate, as before) and ends with a **`Test Suite`** gate job. +- `IssueTracker.PlugIns.Tests.Unit` now runs in CI for the first time (37 tests, passing). +- The Auth0/Mongo secrets are scoped to the test job only. AppHost.Tests keeps its UI publish and its Docker pre-pull. +- Builds use `-warnaserror`, with documented `NoWarn` entries (CS0618/CS0067 until the bUnit `TestContext` migration, and ASPIRE010). + +**Security and lint** +- Every action is pinned to a commit SHA, with `persist-credentials: false`. +- New `lint-actions.yml` runs actionlint, zizmor and shellcheck. CodeQL adds the `actions` language. +- One `.markdownlint-cli2.jsonc` replaces `.markdownlint.json` and `.markdownlintignore`, and one `.yamllint.yml` replaces `.yamllint`. Six docs were fixed to pass it. The legacy Copilot guidance is excluded until the follow-up PR rewrites it. +- `.github/hooks` (pre-commit Markdown lint, pre-push branch-name check plus `scripts/gate.sh`) runs the same checks locally. To set it up: `git config core.hooksPath .github/hooks`. + +**Releases and automation** +- `release.yml` cuts a semver tag per merged PR (`semver:major`/`semver:minor` labels, patch by default) and opens a `[skip-release]` blog-post PR. `release_post.py` no longer creates `docs/README.md` in repos that don't publish one. +- `pr-automerge.yml` squash-merges same-repo PRs once the checks pass, Copilot has reviewed and all threads are resolved. +- `code-metrics.yml` keeps its push/PR triggers (IssueTracker has no primary constructors), opens its PR only from `main`, and marks it `[skip-release]`. +- Dependabot adds `dotnet-sdk` updates and keeps the Radzen/MessagePack/Testcontainers rules. +- Dropped: `docs.yml` (Pages builds `docs/` in legacy mode anyway), `.copilot/mcp-config.json`. + +**SDK pin** +- `Global.json` → `global.json`: on Linux the SDK resolver only reads the lowercase name, so the pin was being ignored locally. +- Pinned to 10.0.300 with `rollForward: latestPatch`. **SDK 10.0.4xx fails to compile the Razor pages** (251 RZ/CS errors), so that upgrade needs its own PR. + +### Before / after merge + +- [ ] Add the `RELEASE_PR_PAT` secret (needed so auto-merged PRs trigger releases and blog PRs don't need approval). `ANTHROPIC_API_KEY` is optional. +- [ ] Switch the `main-rules` required checks from `CI build` + `Test Suite` to `Build Solution` + `Test Suite`. +- [ ] Push a `v0.1.0` tag so the new semver releases start there. + +### Validation + +- `dotnet build IssueTracker.slnx -c Release -warnaserror`: 0 warnings, 0 errors (SDK 10.0.303) +- `scripts/gate.sh` via the pre-push hook: lint plus all test projects pass +- Python tests: 124 passed, 1 skipped. Hook tests: 35 passed. +- yamllint, markdownlint-cli2, actionlint, zizmor, shellcheck: clean + +### Follow-ups + +- Agent guidance PR (`CLAUDE.md` and instructions rewritten for IssueTracker) +- bUnit `TestContext` migration (removes CS0618/CS0067 `NoWarn`) +- Razor fixes for SDK 10.0.4xx, and ASPIRE010 + +🤖 Generated with [Claude Code](https://claude.com/claude-code) + +## Commits + +- ci: Adopt atelier-store's CI, release and lint setup (`0a79b48`) + +## Files changed + +### src/ + +- `src/AppHost/AppHost.csproj` (+2 / -0) + +### tests/ + +- `tests/IssueTracker.UI.Tests.Unit/IssueTracker.UI.Tests.Unit.csproj` (+3 / -0) + +### .github/ + +- `.github/agents/beast.agent.md` (+105 / -23) +- `.github/dependabot.yml` (+21 / -4) +- `.github/hooks/post-checkout` (+25 / -0) +- `.github/hooks/pre-commit` (+53 / -0) +- `.github/hooks/pre-push` (+87 / -0) +- `.github/hooks/tests/pre-push.test.sh` (+265 / -0) +- `.github/scripts/backfill_blog_posts.py` (+102 / -0) +- `.github/scripts/release_post.py` (+952 / -0) +- `.github/scripts/tests/conftest.py` (+5 / -0) +- `.github/scripts/tests/test_backfill_blog_posts.py` (+221 / -0) +- `.github/scripts/tests/test_release_post.py` (+805 / -0) +- `.github/workflows/backfill-blog-posts.yml` (+121 / -0) +- `.github/workflows/ci.yml` (+502 / -22) +- `.github/workflows/code-metrics.yml` (+49 / -28) +- `.github/workflows/codeql-analysis.yml` (+58 / -31) +- `.github/workflows/dependabot-auto-merge.yml` (+7 / -11) +- `.github/workflows/docs.yml` (+0 / -55) +- `.github/workflows/lint-actions.yml` (+70 / -0) +- `.github/workflows/lint-markdown.yml` (+14 / -43) +- `.github/workflows/lint-yaml.yml` (+14 / -20) +- `.github/workflows/main-validation.yml` (+0 / -64) +- `.github/workflows/pr-automerge.yml` (+207 / -0) +- `.github/workflows/release.yml` (+353 / -93) +- `.github/workflows/test.yml` (+0 / -781) + +### docs/ + +- `docs/Aspire.md` (+20 / -20) +- `docs/Cache-Strategy.md` (+20 / -20) +- `docs/Health-Checks.md` (+22 / -22) +- `docs/Production-Readiness.md` (+40 / -40) +- `docs/Running-Aspire-Locally.md` (+30 / -30) +- `docs/index.md` (+1 / -1) +- `docs/project-structure.md` (+1 / -1) + +### other + +- `.copilot/mcp-config.json` (+0 / -15) +- `.gitignore` (+5 / -0) +- `.markdownlint-cli2.jsonc` (+26 / -0) +- `.markdownlint.json` (+0 / -23) +- `.markdownlintignore` (+0 / -3) +- `.yamllint` (+0 / -12) +- `.yamllint.yml` (+22 / -0) +- `README.md` (+13 / -6) +- `global.json` (+1 / -1) +- `scripts/gate.sh` (+126 / -0) diff --git a/docs/blogs/README.md b/docs/blogs/README.md new file mode 100644 index 00000000..d5605251 --- /dev/null +++ b/docs/blogs/README.md @@ -0,0 +1,7 @@ +## Release review posts + +This directory contains concise release-review posts for merged PR releases. + +| Date | Title | Tags | +| ---- | ----- | ---- | +| 2026-09-29 | [ci: Adopt atelier-store's CI, release and lint setup](2026-09-29-pr-140-ci-adopt-atelier-store-s-ci-release-and-lint-setup.md) | release,automation |