The artifact was safe
A read-only production database check found the reported artifact, its full Markdown body, and a fully processed persistence queue.
Issue #1331 · production incident and fix
The artifact was never lost. Tegy had the complete file in durable storage, but a later failed refresh could hide that good cached copy behind a “not found” message. The display logic is fixed, the missing test transition is now covered, and the merged change is live.
A read-only production database check found the reported artifact, its full Markdown body, and a fully processed persistence queue.
Tegy could hold both a valid cached artifact and an error from a newer refresh. The error incorrectly won and covered the content.
Any valid local or cached artifact stays visible. A true “not found” message still appears when no artifact data exists at all.
Real production recording in Chromium Profile 3 / tegy. The 25.76-second clip opens the generated artifact after the delayed window, activates Refresh artifact, and shows the content remaining stable. No production request was artificially failed; the explicit failed-refresh transition is proven by the regression test below.
The existing test started with a 404 and a local streamed artifact. It did not model a successful detail load followed by a later failed refetch.
Passed. Load valid detail, switch the server to 404, refresh through both retries, and confirm the cached title and body remain visible.
Passed. When no local or cached artifact exists, Tegy still shows the real “This artifact could not be found” state.
bac57030918495d87035634ec32b4185b4d3af6a.
2d23a747-75ef-44b0-ba83-84c26237e68b.
d201ce5f-10fd-45e8-8236-5ad0451109ee, a later rollout
from main that includes the merged artifact fix.
Honest caveat: the broader UI spec currently has three unrelated
billing-copy expectation failures on main, and lint is
blocked by a separate current-main chat-selection hook rule. The two
new artifact tests, the focused artifact set, build, runtime suite,
deployment gates, and production proof all pass.