Repository navigation
Conversation
qiuethan
requested review from
Williamzhibo,
andrei-akopian,
angelayzheng,
michelle-yl and
pusheen5000000
as code owners
November 5, 2026 05:34
angelayzheng
approved these changes
Nov 5, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Promote staging to production as Misty 1.0.1, including the discovery heartbeat reliability fix in #378. This is also the initial production activation of the release version guard and promotion/history-sync workflow.
Release contents
The only application behavior change relative to current main is discovery monitoring. Other changes are release tooling, documentation, and meeting example-environment guidance. The release intentionally spans zones because it promotes the reviewed staging branch as a whole.
Incident context
Two production doc-discover invocations exited 2 with item_budget and monitor_failed=true while Drive listing and catalog discovery requests succeeded. The item budget is an expected checkpointed stop. Resource metrics did not show memory or disk exhaustion. Existing logs did not identify the underlying transport/provider error.
The fix tolerates one transient heartbeat failure and makes recurring failures diagnosable. It does not claim that the original network cause has been proven.
Validation
fea8ac323c7a4d311556670d6e423428940bb411. Its merge-queue, staging-push, and promotion-PR CI passed, including the database suites and required main source guard. The release remains approved.8b768f7d-c7a5-4258-ab94-d286c2b4bffcreached SUCCESS at candidate880e52f39aaba6cf54c6d1898fc027005faecc76;/health/readyreturned HTTP 200.ae7bc677-16cd-47f4-8098-e53f4a04e7b7at the same candidate reached SUCCESS. Run58dfa633-7563-4505-bd6c-7b5899c69ed8completed at 2026-11-05 05:44 UTC withoutcome=completed,exit_code=0,monitor_failed=false, and no queued listings or pending items.fab8375b-e059-46a3-8d9b-2d28b89b232cstopped on a separate catalog HTTP transport failure withmonitor_failed=false. The successful follow-up resumed its preserved checkpoint. This evidence does not establish the cause of that separate transport failure.Deployment and recovery
Merged with a merge commit after required approval and green checks. Main release commit:
ffb766e2318cbad688952a603b9a84deefc9928e(VERSION1.0.1), merged at 2026-11-05 06:53 UTC. This completed the documented initial activation; subsequent promotions can be opened by the production promotion workflow.No database migration, new runtime setting, key rotation, or service dependency ordering was required. The main push successfully ran the release App workflow and merged history-sync #381. Staging commit
887ddaa31228323bb0c1f28927405f3df77ab729contains the exact production commit and preserves the approved candidate's tree. The promotion workflow and main CI both passed.Railway services tracking main deploy through their configured watch paths. Verify the resulting production source SHA and deployment ID for doc-discover, its successful actual invocation with monitor_failed=false, and affected service readiness. Preserve the checkpoint volume. A failed rollout must be repaired or reverted through staging; do not reset discovery state.
Production verification
All deployments below reached
SUCCESSat source revisionffb766e2318cbad688952a603b9a84deefc9928e. HTTP health/readiness checks returned 200 for all seven Python services. The Discord bot registered its global commands and logged ready on the new deployment. Railway reported no current environment issues or pending work at the final check.1e8df981-72da-45fe-b677-09ee39a4b94fbb0aec57-b429-4217-9937-73c11ddb5a404d66a339-ee84-4ae2-bdf8-4e8730b70a04b29133f8-08a1-404c-94a5-c78ab694647912920e28-b85a-483a-bc34-4d07c21bce328678dc2e-bc94-4628-ad78-c3e182a197410cfab517-c3d5-4cf0-9f38-aa5bb69de904bf415d95-aa09-4b18-bdc8-6fbf092c3d7396a0bf97-c67a-4b47-8d61-7c76fcab8660ddd39f8d-8cd0-492b-80eb-4195eee6ab82693d91da-f51d-4bb2-bcd0-3c0a41e0345d27c4848b-ef70-4f01-bdb5-9889df185134finished at 06:59 UTC withoutcome=page_budget,exit_code=0, andmonitor_failed=false; it preserved the existing scan/checkpoint.54d96931-73d7-46c7-bfda-aa2bc713365b, finished at 07:01 UTC withoutcome=completed_with_gaps,exit_code=0,monitor_failed=false, and no queued listings or pending items. Clean full-scan acceptance remains distinct from successful bounded invocation delivery.User documentation and publication
The heartbeat fix changes operator behavior and needs no member-facing wiki changes. The included documentation PRs define the separate wiki/release-publication process. This deployment request does not publish a GitHub Release or new wiki content.
Remaining uncertainty
Two actual production discovery invocations acknowledged their heartbeats successfully. The original intermittent transport/provider cause remains unidentified; successful runs establish deployment health but cannot prove that external delivery errors will never recur. Persistent failures still fail the job and now carry sanitized diagnostics.
Production preflight also found a pre-existing failure in the separate
doc-source-refreshrunner at 06:02 UTC: it completed its drain but failed monitor delivery, exited 2, and retained guardf8dc85de-7565-4538-8cf8-077e217b31bc. That runner uses a separate monitor implementation and is not changed by this discovery fix. Retain this baseline when assessing the rollout and follow the documented exact-owner recovery procedure after confirming the old runner and its API work have stopped.Recovery completed during this rollout: the old runner and API deployments were both
REMOVED, the database still held that exact finished owner, and the authorized owner-specific DELETE returned 200 with the matching run ID. Read-back found no guard. The subsequent scheduled refresh rund3fdb9b6-ecf9-488d-9476-65fe8f39326ecompleted at 07:02 UTC withexit_code=0,monitor_failed=false,drained=true, andguard_released=true(one document refreshed, no counted failures).