fix: use dynamic blog discovery in docs-build test (#282)#283
Merged
bradygaster merged 2 commits intobradygaster:mainfrom Mar 8, 2026
Merged
fix: use dynamic blog discovery in docs-build test (#282)#283bradygaster merged 2 commits intobradygaster:mainfrom
bradygaster merged 2 commits intobradygaster:mainfrom
Conversation
Replace hardcoded EXPECTED_BLOG array with filesystem discovery from docs/blog/. Adding, removing, or renaming blog posts no longer requires updating the test — it discovers posts automatically. This prevents the recurring pattern where blog changes break CI (seen with PR bradygaster#278 deleting duplicate blog 023). Fixes bradygaster#282 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bradygaster
added a commit
that referenced
this pull request
Mar 9, 2026
…roster - Add PR #298 (active nav highlighting, favicon fixes) to blog 028 - Update Squad roster from Usual Suspects to Apollo 13 / Mission Control names - Credit @tamirdresher PRs #272, #278-280, #283 - Credit @IEvangelist PR #298 - Credit @dkirby-ms PR #243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bradygaster
added a commit
that referenced
this pull request
Mar 9, 2026
…roster (#300) - Add PR #298 (active nav highlighting, favicon fixes) to blog 028 - Update Squad roster from Usual Suspects to Apollo 13 / Mission Control names - Credit @tamirdresher PRs #272, #278-280, #283 - Credit @IEvangelist PR #298 - Credit @dkirby-ms PR #243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bradygaster
added a commit
that referenced
this pull request
Mar 9, 2026
- Add David Pine (@IEvangelist) to Code Contributors — PRs #293, #298 - Add Dina Berry (@diberry) to Code Contributors — PRs #286, #288, #290, #292 - Update Tamir Dresher with recent PRs #278-280, #283 - Add Dale Kirby to Code Contributors — PR #243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bradygaster
added a commit
that referenced
this pull request
Mar 9, 2026
* docs(ai-team): session log and orchestration records Session: 2026-03-09-docs-push-contributors Requested by: Brady Changes: - Logged PAO orchestration: blog 028 update, CONTRIBUTORS.md refresh - Logged FIDO orchestration: test baseline verification (22 passing) - Logged session summary: docs push workflow with PR #300 merge - No decisions inbox entries to merge * docs: credit Pine, Dina, Tamir, Kirby on docs contributor page - Add David Pine (@IEvangelist) to Code Contributors — PRs #293, #298 - Add Dina Berry (@diberry) to Code Contributors — PRs #286, #288, #290, #292 - Update Tamir Dresher with recent PRs #278-280, #283 - Add Dale Kirby to Code Contributors — PR #243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
diberry
pushed a commit
to diberry/squad
that referenced
this pull request
Mar 10, 2026
…ntributors roster (bradygaster#300) - Add PR bradygaster#298 (active nav highlighting, favicon fixes) to blog 028 - Update Squad roster from Usual Suspects to Apollo 13 / Mission Control names - Credit @tamirdresher PRs bradygaster#272, bradygaster#278-280, bradygaster#283 - Credit @IEvangelist PR bradygaster#298 - Credit @dkirby-ms PR bradygaster#243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
diberry
pushed a commit
to diberry/squad
that referenced
this pull request
Mar 10, 2026
…gaster#307) * docs(ai-team): session log and orchestration records Session: 2026-03-09-docs-push-contributors Requested by: Brady Changes: - Logged PAO orchestration: blog 028 update, CONTRIBUTORS.md refresh - Logged FIDO orchestration: test baseline verification (22 passing) - Logged session summary: docs push workflow with PR bradygaster#300 merge - No decisions inbox entries to merge * docs: credit Pine, Dina, Tamir, Kirby on docs contributor page - Add David Pine (@IEvangelist) to Code Contributors — PRs bradygaster#293, bradygaster#298 - Add Dina Berry (@diberry) to Code Contributors — PRs bradygaster#286, bradygaster#288, bradygaster#290, bradygaster#292 - Update Tamir Dresher with recent PRs bradygaster#278-280, bradygaster#283 - Add Dale Kirby to Code Contributors — PR bradygaster#243 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace hardcoded blog slug array in docs-build.test.ts with dynamic filesystem discovery. Adding, removing, or renaming blog posts no longer requires updating the test.
Problem
docs-build.test.ts hardcoded every blog post slug in an EXPECTED_BLOG array. Any blog change (add, remove, rename) required a manual test update, and forgetting to do so broke CI on all branches.
This caused failures when:
Fix
Testing
Related