Urgent.News

What's breaking now, across thousands of outlets.

Tech

I Shipped a Feature in May. Nobody Could Reach It Until Yesterday.

I shipped a feature in May. Cross-page session memory for a retrieval agent — follow a link, the conversation comes with you. It was deployed, tested, and running in production. Yesterday I found out no visitor had ever been able to reach it. The part that was actually broken The obvious problem was that the chat widget existed on exactly one page out of thirty-nine. That is bad, but it is the…

A feature was shipped in May, but it remained unaccessible to visitors until recently. The issue stemmed from the chat widget being available on only one out of thirty-nine pages, which was problematic. However, the real issue was that the widget failed to send necessary session_id and scope fields. Despite the server having both fields documented, tested, and deployed, the browser was never wired to send them. Consequently, the feature was never invoked.

The failure involved two components: correct individual components with an untested integration. The issue did not throw errors or log notifications, making it difficult to detect. The health endpoint was green, and a metric could indicate a problem without being visibly broken. In this case, a sessions_active counter read zero, indicating no active sessions, but it appeared plausible given the low traffic of the site.

To verify the fix, the author sent questions from different pages and observed if the answer retained context. Sending a question from the datasets page with a session id yielded the correct response, while sending the same question from the portfolio page with an empty client history resulted in the same answer, confirming the fix's success.

However, while fixing the issue, the author accidentally expanded the widget's scope to include internal research vocabulary. This inadvertently connected a buyer's licensing question to the research corpus, leading to a revision. The author learned the importance of testing a sales surface with real visitor interactions rather than internal vocabulary and the significance of monitoring specific health metrics that could indicate a feature's failure.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

India’s Airbound bags $37M to take on trucks with rocket-like drones

Airbound's ultra-lightweight approach to drone delivery has attracted backing from Greenoaks, DoorDash, and Silicon Valley investor Lachy Groom.

  • Indian startup Airbound raises $37M in Series A funding.
  • TRT drone, weighing 3.3 lbs, will carry up to 11 lbs payload.
  • Startup aims for 10,000 daily drone flights in Andhra Pradesh.

Stop saying SSL: TLS only does three jobs, and your 'SSL cert' is usually not the outage

Runbooks still say "renew the SSL certificate" when the browser warning is obsolete protocol . The certificate can be brand new. The tunnel is still TLS 1.0. This is a shortened English note.

  • SSL and TLS are distinct protocols; SSL is outdated and vulnerable
  • TLS versions 1.2 or 1.3 are currently used by browsers
  • Three primary jobs of SSL/TLS handshake: confidentiality, integrity, authentication

More from Tuesday 25 August →