For the first three versions of FigSchema, my test files were small - a page or two, a handful of tables, clean and tidy. V1 through V3 passed every test I ran.
Then I opened it on my company’s actual FigJam file: 90-100 pages of real architecture work. The plugin crashed.
Nothing about that crash was surprising in retrospect. Real files contain imported content, orphaned nodes, and structures that don’t expose plugin data cleanly. My test files contained none of that, because I had made them. The failure wasn’t in the code; it was in the environment I’d chosen to trust.
The fix was architectural: stop processing the entire file, process only the current page. It shipped as v4.0 and the plugin has survived every large file since. But the lasting lesson wasn’t the fix - it was the ordering mistake.
I had the user’s environment available the whole time and tested in mine instead. The heavy file sat there for weeks while I validated against toy data. That’s the same mistake, at smaller scale, as writing requirements without watching users work: the environment you test in decides which problems you’re allowed to find.
The rule I’ve kept since, for product work of any size:
- Test in the heaviest, messiest, most real artifact you can get access to - early, not after launch.
- If the real environment isn’t available, the test plan is unfinished. “It works on my data” is not a status; it’s a confession of scope.
- Demo data proves the concept. Real data proves the product. Confuse them and your users will prove it for you, publicly.