Yesterday, I was debugging a performance problem with our Google Forms addon. It turned out my colleague had vibe coded the logging part, so that he could monitor the new installs every week. Monitoring new customers is the most important part of running a business, so he is absolutely right in doing that. Except, he was logging the user’s email and Google has severely restricted how much detail you can get about the user since last December. So, AI had written a series of try/catch statements:
- First, try to get the email if the user gave consent to share it during installation.
- If it fails, it would try to fetch his user ID.
- If that fails, it would log an error saying the user has installed, but we don’t know his email or user ID.
What is the right code for this?
- Logged just the timestamp of the install instead of trying to fetch the email or user ID, and told the marketing team they won’t be able to send the follow-up email based on installation alone.
- Or, if marketing wants the user’s email on install, you would have shown the welcome screen first and logged the email or user ID asynchronously from the browser, while the user is looking at the welcome screen. But calling your server from the addon’s welcome screen might require your server to bypass security and log an unauthenticated payload.
Why AI won’t push back
Your new job is to architect
- Architecture that trades off performance for security and slows down the app.
- Multiple versions of datamodel design with redundant tables, columns and code.
![]()
Your future as a developer
In our case, the right fix is simple. Log the timestamp, show the welcome screen first and tell marketing what they can’t get on install. But AI will never make that call for you, because it doesn’t know your users and it won’t push back on your requirements. That is the architect’s job. If you are a developer, the coding job is going away. But it doesn’t mean your job is going away. Non-developers who don’t understand architecture and design will end up with bad performance and unmaintainable database tables. So, stop missing the coding and become an architect[2]. Learn to push back on requirements, design the datamodel, constrain AI to it and review the code the way an architect reviews a developer’s code. You got promoted. Nobody told you, so I am telling you.
Notes:
[1] Ultimately, you have limited resources. Architecture is about trading off some requirements, so that your app can run with limited resources. Take CAP theorem as an example. You have to trade off consistency or availability or partition tolerance for your database. If you don't understand that tradeoff and ask AI to build a database that has all 3, it would reinvent Google Spanner++ and expect Google scale datacenter to run it. Or, AI will make the tradeoff for you and you end up with the same neutered architecture as every other non developer.
[2] This post is trending on HN. Some have correctly pointed out that good developers already do architecture and bad architects propose ivory tower architecture that falls apart during implementation. I have built ivory tower architecture whenever I am handsoff. This will become more common with AI, if we don't debug its code or don't hand code critical parts of the app from time to time. So, don't stop coding completely, but it's not a full time job anymore.
Like
Comments · 7
Nov 20, 2026
Mani - could adopting a method like spec-driven development have helped here ?
Nov 21, 2026
@斯里尼瓦萨·普拉萨纳 在这个案例中,如果你的规格不是从架构层面,而是从需求层面出发的就没有
Nov 21, 2026
"stop missing the coding" The coding was the fun part and I never wanted this promotion.
Nov 21, 2026
@Srinivasa Prasanna Could be, but it seems requirements heavy and light on architecture/design.
Nov 21, 2026
@Halberdus Ravenheim Me too (I literally named this blog "Developer forever"). But that doesnt answer the economic viablity question. Will companies pay for developers to code, if AI generates better code faster at a fraction of the cost? So, this promotion is inevitable and its better to set that expectation clearly.
Nov 24, 2026
I am a beginners to coding. Help ke understand , did the payload consist of retrievable email id/user id/ "no trackable user metric found" in both the 15-second delayed approach as well as the asynchronous call on welcome screen approach? And did both these approaches use unauthenticated payloads? And does the final solution, ie pushing back on marketing that only timestamp can be sent , also require no authentication?
Nov 30, 2026
@Abhi Vakyl Our addon runs as apps script, which is executed on Google server. During this execution, you can check if the user has shared his email/userId during installation and then send it to our cloud server. To store or log the email/userId, there are multiple round trips between Google server and our server and apps script doesn't allow async network calls, which is the reason for the performance problem. Here everything is authenticated. Unauthenticated payload is a workaround to overcome this performance problem by sending email/userId from html/js produced by apps script thats rendered on browser.
Add your comment