Skip to content

Commit 256e19a

Browse files
InfoTech.io Botclaude
andcommitted
Fix: Resolve workflow race condition with unified atomic deployment (#7)
Epic #2, Child #5 (Testing & Validation) - Stage 1 Complete Critical Issue Resolved: - Discovered race condition: workflows used different concurrency groups (pages vs pages-docs) while deploying to same GitHub Pages target - Implemented unified atomic workflow eliminating race condition entirely - Single workflow deploys corporate + docs in one atomic transaction Changes: - NEW: .github/workflows/deploy-github-pages.yml (unified atomic workflow) - Single concurrency group: "github-pages-federation" - Atomic deployment: corporate site + documentation in one transaction - Smart conditional rebuilds based on trigger type - Supports repository_dispatch and workflow_dispatch triggers - DELETED: 16 old/deprecated workflow files - deploy-corporate-incremental.yml (replaced) - deploy-corporate.yml (duplicate) - deploy-docs-federation.yml (replaced) - test-cache-bug.yml (test artifact) - 13 x *.disabled files (deprecated) - UPDATED: Stage 1 progress documentation - 001-progress.md: Complete Stage 1 report with resolution details - progress.md: Unblocked Child #5, status updated to In Progress - test-results.md: NEW comprehensive test tracking structure Stage 1 Results: ✅ All 5 tasks completed ✅ PAT_TOKEN verified in all 4 product repos ✅ Workflow permissions validated ✅ Critical race condition discovered AND resolved ✅ Test tracking infrastructure created ✅ Baseline metrics documented Impact: - Eliminates data loss risk from concurrent deployments - Guarantees deployment consistency - Simplifies maintenance (1 workflow vs 2) - Better performance (single gh-pages download) - Clean codebase (removed 2994 lines) Related: #2 (Epic), #7 (Child #5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 4880dc2 commit 256e19a

17 files changed

Lines changed: 1154 additions & 2994 deletions

.github/workflows/cleanup-pages.yml.disabled

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/debug-corporate-build.yml.disabled

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)