In How This Website Was Built with Prompts, I described how AI helped turn an old WordPress installation into a static website hosted on AWS.
What I underestimated was how quickly a simple website could become a surprisingly complex software project.
How complexity crept in
It began with S3, CloudFront, and a few pages. Then came weather forecasts, training data, games, security checks, automated releases, and nine languages.
Each translated article also needs consistent navigation, metadata, feeds, and generated HTML. Eventually, even small content changes could trigger a substantial CI/CD pipeline.
When safety mechanisms become obstacles
Our recent Git history is a useful reality check. We encountered secret-scanner friction, reproducible-build mismatches, stalled font installations, workflow configuration errors, and missing AWS IAM permissions.
One partial deployment recovery involved checking 534 public objects: 501 aligned with expectations, 24 had unexpected differences, and nine new pages could not be read. Getting back to a safe release took multiple tightly controlled PRs.
Each safeguard had a purpose. But together, they made the system difficult to change.
The lesson: more automation does not automatically mean better automation.
From an idea to a live page
A PR is not a deployment. Changes first pass site and security checks, then require review and merge. The release independently validates the generated site, AWS permissions, budget, and exact files before uploading anything to S3.
If a check fails, the right response is to investigate the cause—not weaken a safety gate just to make a red badge turn green.
My favorite workflow: the evening debugging loop
One especially useful habit is asking ChatGPT to keep working through a PR's failing checks: inspect the logs, propose a narrow fix, commit it, and check CI again.
That's particularly handy in the evening, just before bed. I can leave the repetitive investigation to the connected session instead of personally following every failure.
This isn't a promise that ChatGPT will run indefinitely or autonomously overnight: it only works while an active session and the necessary tools are available. I still review the result and decide when to merge.
Making CI/CD simpler again
We're now deliberately removing work that adds little value to routine changes:
- Gitleaks: check new secrets on every PR; run full-history scans separately.
- Semgrep and pip-audit: check relevant changes, with scheduled full scans.
- Documentation fast path: skip heavy site builds for docs-only PRs.
- Dependency caching: reuse Python and Sharp downloads, not deployment artifacts.
- Timing data: measure font setup and quality gates before optimizing further.
We keep the important protections: reproducible builds, SHA-256 manifests, OIDC, least-privilege AWS permissions, budget checks, and no CloudFront invalidations.
Keeping CI broadly stable as the codebase grew
Our optimization story turned out to be more interesting than simply making individual CI checks faster. Across 48 consecutive pull requests (#89–136), the final successful CI revision took around three minutes on average-sized changes, even as the repository gained 9,983 net lines according to GitHub's addition/deletion counts.
The cumulative growth is not an estimate: GitHub recorded 11,569 additions and 1,586 deletions across those 48 merged PRs. The same period involved 13,155 lines touched (additions plus deletions). Much of that activity included generated pages, multilingual content and configuration, so we should not equate every changed line with new manually written application code.
The median was 2 minutes 45 seconds for PRs #89–112 and 3 minutes 14 seconds for #113–136: about 29 seconds higher, not faster. This matters. As the code and multilingual site expanded, the measured CI duration stayed in the same order of magnitude, rather than growing proportionally with the volume of changes.
But it would be misleading to announce a proven improvement in end-to-end delivery time. These measurements exclude earlier failed or cancelled revisions, manual repair work, approval waits and production deployment. Several complex PRs required multiple corrective rounds. A green PR is not a deployed page.
My takeaway: the achievement so far is keeping routine CI duration broadly stable while the site grows. The next test is whether we can also shorten the full *first commit → green PR → merge → verified S3 release* cycle, without relaxing security, translation approvals or source integrity.
The trap: every new language silently became a release dependency
At first, adding another translation felt almost free. A language meant one more set of pages and strings. We added German, Spanish, Chinese, French, Brazilian Portuguese, Japanese, Hindi, and Dutch around the English source. The user-facing reach grew. Behind the scenes, the number of build stages, links, feeds, metadata checks, and opportunities for one step to fail grew too.
We made a naive assumption: because the site was static, building all nine editions for every change would stay cheap. In practice a small English edit could still wait for font packages, image rendering, repeated navigation rewriting, localized feeds, sitemap validation, and security checks across the full site. We were treating nine languages as one indivisible release.
Every language had to finish before publication
This was not the fault of multilingual publishing. It was a dependency-design mistake: we had put noncritical language work on the critical path for an English change.
The redesign: English first, reviewed translations afterward
The engineering direction is to split the release into two explicitly linked stages:
less is better
The diagram shows the intended deployment order, not a production trace proving that it has happened. The design provides separate English and locale stages, SHA-bound handoff of reviewed translations, and an English-before-locales dry-run dependency. A locale translation is invalidated whenever the English source digest changes; missing reviewed translations must fail closed, not silently be replaced with English.
The practical benefit is that English can have its *own* release decision and need not wait for all eight translations. The remaining versions can follow when their authored content and generated artifacts are ready. A staged, approved release is still subject to site checks, cost budgets, OIDC permissions, source hashes, and the policy of no CloudFront invalidations.
What was actually verified by 9 November 2026
The repository distinguishes several levels of evidence. PRs #119–#122 established the unified English compiler, the reviewed eight-locale compiler, the dry-run job sequence, and the first article fixture. Their required CI checks passed. But green CI is not proof of staggered S3 publication:
- The
Reviewed Note nine-language dry runworkflow checks committed English output first, then eight reviewed locale outputs, then the combined HTML/feed/RSS/index/sitemap/hreflang contract. It explicitly has no AWS publishing permission. - The
English-first staged manual releaseworkflow supports separateenglishandlocalesstages, but its publication is deliberately rollout-locked by repository approval variables and a reviewed commit SHA. - The existing
Frontend release to S3 (OIDC)workflow still runs the full website quality gate before its traditional S3 release. A normal deployment completing after a merge therefore does not, by itself, demonstrate that English was live while the eight translations were still building. - The latest inspected English readiness trace reported
sourceToHtmlBuildComplete=false,productionDeploymentApproved=false, and zero S3 writes. It must not be described as a successful English-first production deployment.
The first real acceptance test will be an update to this very article: preserve its original URL, article ID and publication date; build/review its English output; prepare eight independently reviewed translations; then prove the exact order with job timestamps and separate S3 deployment receipts.
The measured win — and the metric we still owe readers
Our earlier optimization data comes from two comparable nine-language changelog updates on 7 November, not from a before-and-after English-first production deployment. This matters: faster checks and a fundamentally shorter time-to-English-live are different claims.
less is better
We also captured English-specific shadow measurements on a later PR. The English HTML fast-lane contract took 0.562 s (60 English pages, 96 local assets, and 514 local HTML links); its independently rehearsed English merge-gate command sequence took 15 s. The English navigation isolation check recorded zero changes across 501 locale files. These are useful *component and rehearsal* measurements, not the elapsed time from merge to a real English S3 deployment. Comparing 15 seconds with 198 seconds as if they were equivalent end-to-end releases would mislead readers.
The strongest claim we can already support is: the architecture now has a much smaller English-only validation path, and the separation is measurable. The stronger business claim — *English reaches readers X minutes earlier while translations continue* — still needs a successful staged release with timestamps.
The next chart needs real deployment receipts
For the first article update, the acceptance record should capture:
T0: English source revision approved and merged.T1: English build/checks complete.T2: English S3 publish receipt confirms uploaded bytes.T3: locale processing starts, then completes.T4: locale S3 receipt confirms eight approved editions.
Only when T2 < T3 (or at least T2 before locale completion, according to the release plan) is evidenced may we truthfully say English was published while the other languages were still being handled. Until then, we are reporting an architecture improvement and a promising benchmark, not a verified production lead time.
The real lesson is not simply “make CI faster.” It is stop making the first useful result depend on every optional follow-up result.
First measured results: two comparable changelog updates (7 November 2026)
We compared two updates to the changelog in all nine languages, using their last successful CI runs. The first established a baseline by publishing a set of retrospective changelog entries across the translated pages. The second published two additional entries after several low-risk improvements to the build and validation pipeline.
What actually changed between those runs?
- Asset checks became less repetitive. The quality gate now checks an identical local asset path once per run, while still reporting every missing reference in its original page.
- Slow checks became visible. Timing measurements identify the slowest scripts and the individual generators inside the navigation build, replacing guesswork with evidence.
- Navigation hashes were reused. Common CSS and JavaScript SHA-256 digests, and navigation lookup positions, are calculated once instead of repeatedly for each HTML page.
- Language generation reused unchanged hashes. The French, Portuguese, Japanese and Hindi generators, the language-switcher builder, and navigation validation cache repeated file hashes within a run. The generator order and exact-byte verification stayed intact.
| Metric | Earlier changelog update | Later changelog update | Change |
|---|---|---|---|
| Offline checks | 3 min 38 s | 3 min 18 s | 9.2% faster |
| Full site release quality gate | 2 min 55 s | 2 min 27 s | 16.0% faster |
| Gitleaks job | 56 s | 67 s | 11 s slower |
| Semgrep job | 10 s | 11 s | Roughly unchanged |
| pip-audit job | 13 s | 12 s | Roughly unchanged |
| Change opened to merged | 41 min 50 s | 34 min 29 s | 7 min 21 s shorter |
The chart compares actual job durations; lower is better. The full site release gate is a step inside offline checks, not extra time added on top. Gitleaks, Semgrep, and pip-audit run in parallel and must not be summed as sequential time. Semgrep and pip-audit skipped their expensive scan steps on both documentation changes; their job totals represent the change-detection fast path, not a full scan.
The release gate dropped from 175 to 147 seconds. Gitleaks moved the other way: its pinned CLI installation alone took 52 seconds on the later run. That made download and caching reliability a better next target than weakening security coverage.
Two runs are not proof of a lasting performance gain. Runner and download variation, different content, and time spent fixing checks all affect the comparison. Time from opening a change to merging it is a human-and-CI process metric, not pure computation. The later update's production release also completed in 5 min 50 s, including roughly 2 min 32 s for conditional S3 uploads; it is not a before/after deployment comparison.
Next: gather additional comparable changes and track generator timings, retries, time to green, and merge-to-deploy separately. Keep exact-byte parity, security gates, OIDC, AWS budget limits, and the no-invalidation policy intact.


cloud / systems