Conversation
Contributor
Author
|
isaac-bot pull master and resolve any conflicts. |
5403014 to
9daafd7
Compare
Three additions to the databricks-apps Generic Guidelines, each pinned to
a real failure pattern observed in the apps-mcp-evals nightly:
1. **AppKit API — consult `appkit docs` first.** Mode-D fingerprint:
tonight's prod nightly (run 456555456546311) had 14 catastrophic
build flips; 12/14 were cb_* (cookbook) prompts and the failures were
typecheck errors against AppKit 0.20.3 (`createApp({setup:...})` when
the real config doesn't accept `setup`, etc.). Tracked in LKB-12465.
2. **Playwright APIs — use only documented ones.** Mode-C smoke fixture:
`serving_chat` smoke spec called `page.getByLabelText` (React Testing
Library, not Playwright) → `TypeError: ... is not a function`. Validate
step fails before any UI assertion. Easy nudge.
3. **Smoke query payload size.** `price_prediction_tool` smoke failed with
`Event exceeds max size of 1048576 bytes` + `ERR_ABORTED` because the
underlying analytics query returned a multi-MB row dump. Smoke specs
then can't find the elements that were never rendered. LIMIT 500 or
aggregate.
Each guideline is short and quotes the exact failure signature so the
agent can pattern-match in future generations.
Co-authored-by: Isaac
9daafd7 to
d21bb9a
Compare
MarioCadenas
approved these changes
May 7, 2026
@databricks/appkit or @databricks/appkit-ui version in package.json
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.
Summary
AppKit version pinning (LKB-12614): never override
@databricks/appkitversion inpackage.json—databricks apps initsets the correct version. Agent was writing stale versions from training data (0.11.0 when latest is 0.31.0).Plus: smoke-test selector guidance (use Playwright locator APIs, not React Testing Library), data-size cap for analytics payloads.
Supersedes PR #65 (which covered only the TypeScript-casts bullet). Mario Cadenas's review feedback from #65 is incorporated (auto-gen queryKey files carve-out, warehouse-unavailable
unknowncase).Documentation safety checklist
Co-authored-by: Isaac