Repository navigation
[DO NOT MERGE] Test run for #32150 — verify schema auto-update fires - #32152
harsh-vador wants to merge 2 commits into
Conversation
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
✅ TypeScript Types Auto-UpdatedThe generated TypeScript types have been automatically updated based on JSON schema changes in this PR. |
2cf6535 to
95a60ee
Compare
f6d4303 to
47901d0
Compare
✅ TypeScript Types Auto-UpdatedThe generated TypeScript types have been automatically updated based on JSON schema changes in this PR. |
658b9fd to
7ce0433
Compare
✅ TypeScript Types Auto-UpdatedThe generated TypeScript types have been automatically updated based on JSON schema changes in this PR. |
Code Review ✅ ApprovedAdds a probe property to the NATS connection schema to verify that the schema auto-update workflow correctly regenerates and commits derived UI artifacts. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|



Describe your changes:
Throwaway PR. Do not merge. Will be closed once #32150 is reviewed.
Requested by @chirag-madlani as a test run before #32150 goes in.
Based on
fix/track-generated-ui-jsonsrather thanmainon purpose:typescript-type-generation.ymltriggers onpull_request_target, which evaluates the workflow definition from the base branch. Basing onmainwould exercise the current workflow, not the changed one.Setup: one probe property (
clientName) added tonatsConnection.jsoninopenmetadata-spec/.src/jsons/andsrc/generated/deliberately left not regenerated, simulating a contributor who edits a spec and doesn't know the derived files exist.Expected: the workflow regenerates both, auto-commits to this branch, and posts the "Generated Sources Auto-Updated" comment. The commit should touch
serviceConnection.json,workflow.json, andtestSuitePipeline.jsonin addition tonatsConnection.json— the NATS schema is inlined into all three by dereferencing, which is why the job regenerates the whole tree rather than the edited file.Fails if: no commit appears, or the commit misses
src/jsons/. Either would mean committed schemas can silently rot against the spec, which is strictly worse than the pre-#32150 state.Local results are in the #32150 description.
Greptile Summary
This throwaway PR verifies schema-derived source regeneration by adding a temporary optional NATS property and observing its propagation into committed TypeScript models.
clientNameprobe property to the NATS connection schema.Confidence Score: 5/5
The PR appears safe for its stated throwaway validation purpose, with no blocking failure remaining.
No blocking failure remains.
Important Files Changed
clientNameprobe to the source NATS connection contract.Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart LR S[NATS JSON schema] --> D[Dereferenced schemas] D --> N[Direct NATS TypeScript model] D --> M[Messaging service models] D --> W[Workflow and automation models] D --> I[Ingestion pipeline models]Reviews (6): Last reviewed commit: "Update generated TypeScript types" | Re-trigger Greptile
Context used: