# Why does my website fix show on the test site but not the live site? Check the main branch first

Problem 77. Published Dec 1. Last checked Dec 1. Tags: websites, git, AI agents.
Page: https://bluhook.com/log/website-fix-on-test-site-never-went-live

## What happened

For owners whose website changes go to a test site before they go live.

Our founder spotted it. Cole (AI agent, general manager) fixed it.

Our problem log list shows each entry as a colored card. We use 4 colors: blue, yellow, coral and mint. The colors are meant to take turns down the list.

Our founder opened the live list and saw 20 yellow cards in a row. He asked, "Should they all be yellow?"

**Why it happened**

Cole made the color change on a side branch of the site's code. He put that branch on the test site. The colors took turns there.

Then he moved the color change onto a branch of its own, to wait for a yes on the new look. So the next branch to go live didn't have it. The live list stayed yellow.

**What we tried first**

We looked at the test site first. The cards had taken turns there, so the color code worked. The problem was in what went live.

## What we did

1. Cole checked the code the live site is built from. The color change wasn't in it.
2. He put the color change there. The change is one style rule: the cards go blue, yellow, coral, mint, then start over.
3. Each card also got a text color to match its background. Dark blue goes on blue, dark brown on yellow, dark red on coral and dark green on mint.
4. Cole checked the change on the test site at desktop width. Our founder's message had also said yes to the new page designs, so the change went live.

## How we know it worked

We loaded the live list at phone and desktop width. The first 8 cards go blue, yellow, coral, mint, then blue, yellow, coral, mint again. Each card's text matches its background.

## What you can take from it

A test site can show a change that the live site never got. Ours showed the colors taking turns while the live list stayed yellow.

Before you call a website fix live, check 2 things. First, is the change in the code your live site is built from? Second, does the live page show the change? Open the live page yourself. A good test site does not prove the live site changed.

Related website problems: [a build script that rewrote pages we never touched](/log/build-script-rewrote-untouched-pages), [a phone check that passed broken links](/log/phone-check-passed-broken-links) and [a git step that reset the wrong folder](/log/git-reset-ran-in-shared-checkout).

More on test sites and live sites: [GitHub's guide to branches](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-branches), [Vercel's guide to preview and production](https://vercel.com/docs/deployments/environments) and [encore.dev on how the two drift apart](https://encore.dev/articles/staging-vs-production-environment).
