Hi AI MeetingPublic meetingMy meetingsShelfStatsBlog

HI AI MEETING · Operations

382 Pre-Deploy Checks, 83 Passed: What Were the Rest?

The October 14 deploy record lists 382 selected checks, 347 run, 83 passed, and 13 failed—but those numbers come from different stages of the tally. This post explains a method that never counts checks we could not run as passes, along with the reasons and limits behind that day’s exceptions to the deployment rule.

By Hi AI Meeting 운영팀17 min read

The October 14 deploy record contains four numbers: 382 selected, 347 run, 83 passed, and 13 failed. It is easy to read that as “only 83 of 382 passed,” or, in the other direction, “347 were run, so that should be enough.” Neither reading is correct, because the numbers come from different tallying stages.

This post is about changing how the record is written so that confusion is less likely. The core idea is simple: checks we could not run are never counted as passes.

Hi AI Meeting does not have a separate CI server. For each deploy, we run the test bundle ourselves and use the results to decide whether to ship. In practice, how results are counted matters more than the total number of tests. If checks that could not be run are mixed into “passed,” running more checks can create more reassurance than real safety.

Why we split pre-deploy from post-deploy

  • Pre-deploy (A) runs in an isolated local environment restored from a production DB backup. Destructive checks, such as bulk creation or deletion, happen only here. Nothing is written to the production DB, and sign-up confirmation emails are read through a test mail receiver inside the isolated environment.
  • Post-deploy (B) performs only safe checks on the production domain. The only production DB writes are creating 1 test meeting and 1 temporary API key, then deleting or revoking them afterward.

Neither stage makes a real payment; both stop at test mode. Test meetings use only permitted Low-tier models. Pre-deploy checks that the new code is correct. Post-deploy checks that production configuration, the domain, and external connections actually work with that code. For example, one missing line of production configuration can keep a payment dialog from opening even if it passed in the isolated environment.

Tiers: urgent ⊂ normal ⊂ full, and core ⊂ all

Pre-deploy uses urgent ⊂ normal ⊂ full (normal by default). Post-deploy uses core ⊂ all (core by default). When the changed-file list is passed to the runner, it checks for payment, authentication, authorization, DB migration, public-exposure, or legal files. If any are present, it automatically raises the run to that stage’s highest tier and records why. Even if someone selects “urgent, we are in a hurry,” touching payment code makes the run full tier.

Diagram of the pre-deploy inclusion urgent ⊂ normal ⊂ full and the post-deploy core ⊂ all, with automatic escalation to the top tier when risky files change

What is always included differs by stage

Before deployment, these are included regardless of tier:

  • Payments: opening and closing the payment dialog, retrying after cancellation, no credits granted without payment, refunds
  • Authentication: sign-up, login and logout, password reset, account deletion, session expiry
  • Authorization: the guest / member / operator boundary, blocking the admin screen, blocking access to other people’s data
  • The build and language packs, plus every feature changed in this release

After deployment, we do not repeat every pre-deploy screen flow. We check the fixed items below, production-only differences, and the screens changed in this release.

If a changed area has no test item, we stop with “could not run: no test item” and create one on the spot. Each fix PR also includes a “verify once at deploy” section. The person deploying gathers those items and must run them. The rule is: if any one-time check fails or cannot be run, do not deploy. On October 14, however, we made exceptions to this rule. The circumstances appear later in this post.

The 8 fixed post-deploy checks

No.WhatExpectedProduction writes
B-01Public pages, sitemap, robots.txt, ads.txt200, correct body, no unintended noindexNone
B-02Test account loginLogin succeeds (credentials not recorded)Session only
B-031 new meeting with a Low-tier model → results → downloadMeeting completes, download works, charge equals cost × multiplier1 test meeting, deleted afterwards
B-04Issue temporary API key → call → revokeCall returns 200, same key returns 401 after revocationTemporary key, revoked afterwards
B-05Payment webhook with an invalid signatureRejected with 400, ledger change 0None
B-06Admin screenOperators only; regular and logged-out users blockedNone
B-07Server error logUnhandled errors and provider failures within normal range, no secrets exposedNone
B-08Rollback readinessCurrent and previous release images actually present on the server, 1 backup right before deployNone

Only three results: pass, fail, could not run

Older records used labels such as “partial pass,” “not run,” and “could not verify.” Depending on the reader, those could look like either passes or failures. Now we collect all of them under could not run (reason) and write results in only three ways.

A failure means “the product behaved differently from expectation.” Could not run means “the environment or tooling prevented the check itself.” A record row looks like this:

TargetExpectedObservedVerdictResolution
English UI, 1280px top barAccount name and balance fully visible on one lineName and balance clippedFailFixed, re-checked, passed
Public quality judgment for paid meetingsJudgment reflected in public visibilityNo paid meeting in the isolated environmentCould not runDeferred to post-deploy check

Runner verdict rules (summary) — Exit code 0 only when every selected item passed; 1 means a failure; 2 means items that could not be run or an input error. For screen captures, the judging model is asked only three things (Korean mixed into the English UI, exposed language-pack keys or {{variables}}, clipped or overlapping text). If the model answers “present” or reports confidence below 0.8, a person opens the screenshot to check. If the model call fails, the result is not a pass but “needs manual check.”

A high number of passes does not automatically mean safety. But counting checks that could not run as passes is clearly unsafe. The first safeguard, then, is not mistaking could-not-run for pass.

A real round: the October 14 deploy

The October 14 pre-deploy run was full tier. The record includes “382 selected, 347 run” and “manually verified results: 83 passed, 13 failed.” These figures come from different tallying stages, so they cannot be added or subtracted to calculate a remainder. This post does not count the remainder as could-not-run.

This round found 5 product defects before users did. Four are covered here. Two examples come first:

  • English top bar clipped: At 1280px in the English UI, the account area was squeezed and the name and balance were cut off. We prevented the account area from shrinking and adjusted the spacing.
  • Blank first screen on mobile: The public home page’s scroll-reveal effect was attached to a very long group, so the first screen looked empty at 375px. We fixed it by lowering the reveal threshold.

The same round also fixed a problem where judging requests for large image captures ended in a server error, and another where internal judgment text appeared in meeting-room conversations.

After fixing those defects, we re-checked the 63 items covering the core set and the changed files. There were 2 failures, and they were handled differently.

  • Web build failure: lint caught one unused variable. We fixed it in a follow-up change and then deployed.
  • Playback manifest 404: this was a pre-existing failure carried over from the previous round. We deployed without fixing it.

The rule and its application differed

Under the rule above, some items should have stopped the deploy. On October 14, however, we did not treat the following as deployment blockers:

  • The playback manifest 404 (a pre-existing failure), a difference in the Library button’s appearance, and several other items that could not be run
  • 1 public quality judgment that requires a paid meeting to verify, deferred to the post-deploy check

Reasons were recorded for two items. The playback manifest 404 was recorded as “the same pre-existing failure as the previous round.” The public quality judgment was recorded as “needs a paid meeting, so verify post-deploy.”

The remaining risk is clear. These paths reached production without pre-deploy verification and need to be checked again after deployment. “We found 5 defects first” and “every check needed for the deployment decision is complete” are different statements. The record keeps them separate for that reason.

The weakness in this round was not the rule itself, but how exceptions were documented. For the button appearance difference and the items that could not be run, the record said what remained but not why it was acceptable to proceed anyway. On a day when the rule is not followed, the reason for moving on needs to be written down one line at a time so the next person can revisit that judgment.

Criteria for adding to, and removing from, the standing tests

We do not add tests indiscriminately. Slow tests eventually get skipped.

Add when one or more applies: core payment, authentication, or authorization behavior / a defect that actually recurred / a user flow in code that changed often recently / something that exists only in production / a defect reported on a frequently used screen

Remove: something another item already covers on the same path / a check that a removed feature is “gone” / a check after a one-time correction of specific data / low value relative to the cost of running it

Every item has a “what does it protect and why could it recur” field. If that cannot be filled in, the item is removed. Per-tier execution-time limits remain blank rather than being invented before they are actually measured.

The first improvement for the next deploy record is one thing: write a one-line reason for every item that did not block the deploy.