chore(codegen): daily schema refresh (2026-05-17)#8
Open
timgl wants to merge 1 commit into
Open
Conversation
Regenerated src/generated/api.d.ts from the live OpenAPI spec. Only change is added docstrings on TrendsFilter.aggregationAxisFormat, aggregationAxisPrefix, aggregationAxisPostfix, and decimalPlaces — no structural schema changes. No new operationIds added to openapi-filter.yaml: no managed resource family gained CRUD endpoints worth wiring up. Generated-By: PostHog Code Task-Id: 1fe10663-6a0c-49fa-8f02-564ac60b9a4b
Contributor
Author
|
The two failing required checks are pre-existing issues on
This PR only modifies The PR's own checks (CodeQL, Wiz scanners) pass; local |
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
Daily OpenAPI schema refresh against
https://us.posthog.com/api/schema/?format=json.Spec diff size: 1 file changed, 15 insertions(+), 1 deletion(-) in
src/generated/api.d.ts. The only change is added docstrings onTrendsFilter.aggregationAxisFormat,aggregationAxisPrefix,aggregationAxisPostfix, anddecimalPlaces(no structural changes).New operationIds added to
openapi-filter.yaml: none.Resources touched: none (
openapi-filter.yamlunchanged; only the generatedapi.d.tsshifted, and only in description comments).Triage of unmanaged operationIds
The drift report from the GitHub Actions step lists every operationId in the live spec that is not in our inverse-allowlist. None of them represent NEW CRUD endpoints for existing managed resource families that are worth wiring up today:
insights_*,dashboards_*,feature_flags_*,cohorts_*,actions_*,event_definitions_*,experiments_*,experiment_holdouts_*,experiment_saved_metrics_*,schema_property_groups_*,event_schemas_*,environments_endpoints_*,environments_*— core CRUD already covered in the filter.*_activity_retrieve,*_bulk_update_tags_create,*_sharing_*,*_my_last_viewed_retrieve, etc. are admin/utility endpoints, not IaC primitives.alerts,annotations,surveys,notebooks,subscriptions,roles,comments,batch_exports,external_data_*,hog_flows_*,hog_functions_*, LLM analytics, error tracking, logs, tracing, warehouse, etc.) are brand-new families that would each need a fulladd-resource(oradd-singleton-resource) skill run including pipeline wiring, identity convention, and the safety invariant — out of scope for a daily drift refresh. Leave for a human to decide which to graduate to IaC management.No managed operationIds disappeared from the live spec.
Unresolved drift
None.
TaskRun
PostHog Code TaskRun:
1fe10663-6a0c-49fa-8f02-564ac60b9a4bTest plan
pnpm install --frozen-lockfilepnpm codegenpnpm typecheckpnpm test(35 files, 291 tests passing)Generated-By: PostHog Code