HI AI MEETING · Dev notes
When the Conversation Disappeared from a Meeting Page’s First HTML
The day after a flicker fix, a public meeting’s first HTML showed only one English waiting message while its conversation was hidden. We restored visible content, rendered it in the requested language, and compared production HTML before and after with measured results.
Note: This article describes a historical change to the first HTML of public meeting pages. Since November 4, 2026, public meeting pages have been configured to be excluded from search indexing.
On 2026-10-25, we fetched the raw HTML for a public meeting page with Accept-Language: ko-KR, as a Korean browser would. The document was 99,586 bytes.
Immediately below <html lang="ko">, the only visible sentence was the English message “Opening the meeting…”. Every statement from five personas across six rounds was inside a hidden box.
The problem began with a flicker fix made the day before.
A public meeting URL (/meetings/<id>) serves two different readers. For visitors who receive a link and for search engines, it is a document containing a transcript, minutes, and round summaries. For the meeting owner, it is a screen for managing and replaying the result.
This post follows how supporting both roles at one URL broke the reading experience, how we restored it, and what production HTML looked like when we checked again ten days later.
A public meeting’s content belongs in the first HTML
The conversation is the value of a public meeting page. In the public meeting on weighted voting rights in a community, statements from five personas over six rounds make up most of the page body.
Those statements need to be readable in the HTML without JavaScript. Search engines and visitors on slow mobile connections should still receive the same content.
Link previews use a separate path. Server-generated Open Graph and Twitter metadata provide the meeting title, topic or article gist, and image.
The complication was determining ownership. At request time, the server cannot always tell whether the requester owns the meeting. The browser therefore performs one more check, called the access determination in the code. This regression came from deciding what to render before that check finished.
JavaScript pages and search engines
Google Search Central describes JavaScript-page processing as crawl → render → index. Rendering can enter a queue and happen later, and not every bot executes JavaScript. It therefore continues to recommend server-side rendering or pre-rendering.
That is why this service server-renders public meetings and blog posts. The server reads a dataset containing only meeting data that may be disclosed—the “public projection” in the code—and puts it in the first HTML. The browser then adds behavior such as replay and reactions.
Text in HTML does not automatically allow indexing. At the time, public meetings received noindex if they were excluded by the public quality standard (quality_excluded) or if text for the URL’s language was not ready. After the November 4, 2026 deployment, all public meeting pages were configured to be excluded from search indexing. Serving content and permitting indexing are separate decisions.
The regression: while access was resolving, only hidden content remained
On 2026-10-24, we fixed a flicker where opening one of your own past meetings briefly started the public replayer before switching to the completed view (commit 40acb179). The fix was to avoid building the replayer while determining whether the requester was the owner.
This was the code that prevented the flicker and also caused the regression:
if (access === 'resolving') return <main>
<p className="muted" role="status">{msg("app-meetings-id-meetingroomclient.text-002")}</p>
{/* Keep the publicly verified server-readable body in the first HTML, but do not build the replayer while access is being resolved. */}
<div hidden>{readableTranscript}{readableArtifact}</div>
</main>;
The intent was to delay only the replayer while keeping text in the HTML. But server rendering always begins in the “checking” (resolving) state. The first HTML therefore contained a notice and a hidden transcript, while the public room structure itself was absent.
We could not confirm from official documentation how search engines treat hidden text. The difference between the visible page and the first HTML was nevertheless enough reason to fix it.
A language issue surfaced at the same time. msg() inside client components read the server’s shared default language, English. A Korean request therefore still received English UI text in its first HTML. Here is an abbreviated excerpt from production HTML at that point:
<html lang="ko">
...
<p class="muted" role="status">Opening the meeting…</p>
<div hidden="">
<div data-nosnippet="" data-public-readable="transcript" lang="ko">...
The document declares <html lang="ko">, but the notice is English and the meeting body is hidden. data-nosnippet tells Google not to use that region in a search-result snippet. It is there to keep a meeting’s conclusion from appearing verbatim in search results; it is different from excluding a page from indexing.

Fix 1 — Render the public room first, and hold only replay
The 2026-10-25 fix (PR #1589) separated those responsibilities. If the server has already sent public meeting data, it renders the public room (CanonicalPublicMeeting) even while access is still resolving. Only replay startup is held.
const publicCandidate = access === 'public' || (access === 'resolving' && initialPublic !== null);
if (publicCandidate && publicId !== null) return <CanonicalPublicMeeting
key={publicId}
publicId={publicId}
/* ... */
holdStart={access === 'resolving'}
/>;
Inside the public room, the effect that selects the replay starting point returns immediately when holdStart is set. While held, the room stays replay-pending (pending), shows only static server-rendered text, and does not start the replayer.
useEffect(() => {
if (holdStart || detail === null || room === null || room.public_id !== publicId) return;
// ... decide where replay starts
}, [holdStart, detail, room, publicId, seqHint]);
This makes the “while checking” state and the “confirmed public” state the same element in the same position. When public access is confirmed, React does not remount it; it releases holdStart and replay begins. If the requester is confirmed as the owner, the page changes to the management view without replay, preserving the flicker prevention from the previous day.
With JavaScript enabled, html.js .public-replay-pending { visibility: hidden; } briefly conceals the public room during the check. That prevents the owner from glimpsing the visitor-facing screen. Without JavaScript, the text remains visible.
After the fix reached production, we fetched the same meeting URL again on 2026-11-04 with the same Accept-Language: ko-KR. The document was 184,425 bytes. It had <html lang="ko">, no “Opening the meeting…”, zero occurrences of <div hidden, and visible meeting content.
| Item | Before (checked in production 2026-10-25) | After (checked in production 2026-11-04) |
|---|---|---|
| First HTML size | 99,586 bytes | 184,425 bytes |
| Public room structure in first HTML | Missing; one “checking” notice line | Public room rendered |
| Content without JS | Hidden inside hidden (1 place) | hidden 0 occurrences, plainly visible |
| Notice text for a Korean request | English “Opening the meeting…” | No English notice text |
| Owner’s replay start | Replayer not built (no flicker) | Replay held, flicker prevention kept (per the code — the owner’s view was not part of this measurement) |
The byte count increased by about 85%. The hidden transcript was already present in the original 99,586 bytes. The increase includes the rendered public-room structure and other changes made during the following ten days. We did not measure those two factors separately.
The important result was restoring the original promise that a public page can be read without losing the flicker prevention already in place. The second and third table rows show that outcome.
Fix 2 — Read the request-specific language during server rendering
A server handles requests from many users in one process. Changing a module-global “active language” for each request can mix languages across concurrent requests.
On 2026-10-17, we changed server-side language passing to per-request React context (UiLocaleContext, commit 1797e7ed). However, msg(), which client components use, still read the global value. We handled that remaining path with the following code:
export function msg(key: string, bindings?: Bindings): string {
return msgFor(renderUiLocale(), key, bindings);
}
function renderUiLocale(): UiLocale {
if (typeof window !== 'undefined') return currentUiLocale();
try {
return use(UiLocaleContext);
} catch {
return currentUiLocale();
}
}
This code serves the path where client components are pre-rendered on the server. During server rendering, it reads the request’s context value through React use. In places where context cannot be read, such as outside rendering, it falls back to the previous value.
Server components do not use this function. They obtain the language through serverUiLocale() and pass it directly, as in msgFor(locale, key).
React documentation does not support reading context with use in server components, and it also advises against calling use inside try-catch. This pattern is therefore not a React-recommended solution. It handles a constraint in the current code, so anyone copying it should first check the React documentation’s restrictions on where use may be called and how errors are handled.
In the browser, the language-boundary component LocaleGate calls primeUiLocale(locale) before rendering children, aligning the browser’s active language. That function only aligns the value; it has no side effects such as storage or cookies.
This is necessary for hydration. The browser takes over the server HTML instead of discarding it and building it again. Its first render must therefore produce the same text as the server render. If the server renders Korean and the browser first renders English, they diverge. React warns and re-renders that part. We treat that warning as a defect to fix, rather than something to inspect later.
The blog follows the same principle
The blog you are reading (/en/blog) also puts content in the first HTML. List and post pages read the post in a server component and render its body there.
We added one further rule for posts without an English edition. Only the Korean URL is declared canonical. An English URL (/en/blog/...) still displays the Korean body, but responds with noindex. This prevents Korean content from becoming canonical at an English URL.
alternates: english ? publicSiteAlternates(path, routeLocale) : { canonical: publicAbsoluteUrl(path, null) },
...(english || routeLocale === null ? {} : { robots: { index: false, follow: true } }),
How to check
You can check this without a browser. The 11-04 re-check used steps 1–3 exactly as written below.
- Fetch raw HTML with
curl.exe -H "Accept-Language: ko-KR" https://hiai-meeting.com/meetings/<id>. - Search for one meeting statement and confirm that it appears in the HTML rather than being trapped inside
hidden. - Confirm that
<html lang>and the notice text use the requested language. - You can also open the same URL in a browser with JavaScript disabled and check whether the meeting remains readable.
This regression began with a valid fix for a flicker. But changing screen behavior can also alter a separate promise: what appears in the first HTML.
That is why we now fetch raw HTML once whenever we change a public page’s on-screen behavior. We did the same after this deployment. The next time we touch the replayer, the first line will again be curl.exe.