Skip to content

chore(gooddata-api-client): regenerate against staging - #1886

Merged
jeskepetr merged 1 commit into
masterfrom
PJE/F1-2973
Oct 21, 2026
Merged

jeskepetr merged 1 commit into
masterfrom
PJE/F1-2973

Conversation

@jeskepetr

@jeskepetr jeskepetr commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Full regeneration of gooddata-api-client from the stg11 staging specs with
make api-client STAGING=1. MongoDB was removed from the backend (gooddata/gdc-nas#28881),
and that change is now deployed on stg11, so the regenerated client no longer carries the
MONGODB data source type. Follows the Drill (#1729) and Greenplum (#1723) removals.

This replaces the earlier hand edit of the enums with the generator's output, so the diff
also brings the client up to the rest of the current backend API:

  • MONGODB removed from the six data source type enums and the source schemas
  • new APIs: Publisher documents, document templates, page templates, localization
  • SAV file analysis (AnalyzeSavRequest …) and new attribute value types
    (HLL, TIMESTAMP_TZ, …)
  • 162 new models
  • the shared 202 response of the export APIs is now generated as
    GetDocumentExport202ResponseInner instead of GetImageExport202ResponseInner

No hand-written code changes. As with any full regeneration, the diff is large
(404 files, +54k/−20k lines), almost all of it generated.

Test Plan

  • make api-client STAGING=1 against stg11 running gdc-nas bd2613c0. The merged
    schemas/gooddata-api-client.json was built with jq 1.7.1, so unrelated number literals
    are not rewritten.
  • git grep MONGODB returns nothing
  • gooddata-sdk: make type-check passes; TEST_ENVS=py314 make test: 572 passed
  • gooddata-pandas (consumer): make type-check passes; TEST_ENVS=py314 make test:
    347 passed
  • pre-commit passed

Risk

high, as for the previous full regeneration (69269ec). The renamed export response
model breaks code that imports GetImageExport202ResponseInner directly; nothing in this
repository does. The MONGODB removal itself is breaking only for code that references that
literal.

JIRA: https://gooddata.atlassian.net/browse/F1-2973

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 5b35a6c0-3102-4111-9a98-d86ebe2e2c09
📥 Commits

Reviewing files that changed from the base of the PR and between f04c9ce and 0be6758.

📒 Files selected for processing: 9
  • gooddata-api-client/gooddata_api_client/model/declarative_data_source.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py
  • gooddata-api-client/gooddata_api_client/model/test_definition_request.py
  • schemas/gooddata-api-client.json
  • schemas/gooddata-metadata-client.json
  • schemas/gooddata-scan-client.json
💤 Files with no reviewable changes: 9
  • schemas/gooddata-scan-client.json
  • gooddata-api-client/gooddata_api_client/model/declarative_data_source.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_out_attributes.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_identifier_out_attributes.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_in_attributes.py
  • gooddata-api-client/gooddata_api_client/model/test_definition_request.py
  • gooddata-api-client/gooddata_api_client/model/json_api_data_source_patch_attributes.py
  • schemas/gooddata-api-client.json
  • schemas/gooddata-metadata-client.json

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.

📝 Walkthrough

The pull request removes MONGODB from database type enums in three client schemas and from the corresponding Python model allowed-value mappings.

Changes: Database type enum updates

Layer / File(s) Summary
Schema type enums
schemas/gooddata-api-client.json, schemas/gooddata-metadata-client.json, schemas/gooddata-scan-client.json
The three schemas no longer include MONGODB in the affected database type enums.
Python model values
gooddata-api-client/gooddata_api_client/model/*
Six Python model allowed-value mappings no longer include MONGODB for data-source and test-definition types.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Suggested reviewers: lupko

Merge Risk: ⚪ Minimal · up to 0be67

The database-type values appear aligned across the schemas and Python models; no identified issue prevents merging after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title accurately identifies regenerated gooddata-api-client artifacts, but it does not mention the primary change: removing MONGODB from data-source type enums.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit checks the types today,
MONGODB hops from lists away.
The schemas match the models’ view,
With other values still in queue.
One carrot later, tests can play.

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.09%. Comparing base (9e9ffae) to head (37309a3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1886   +/-   ##
=======================================
  Coverage   85.09%   85.09%           
=======================================
  Files         337      337           
  Lines       24331    24331           
=======================================
  Hits        20704    20704           
  Misses       3627     3627           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Full regeneration from the stg11 staging specs with `make api-client STAGING=1`, after the
backend removed the MONGODB data source type (gdc-nas #28881). MONGODB is gone from the six
data source type enums and the source schemas.

The regeneration also brings the client up to the rest of the current backend API: the
Publisher document, document template and page template entities, localization, the SAV
file analysis surface, and new attribute value types. 162 models are added. The shared 202
response of the export APIs is now generated as GetDocumentExport202ResponseInner instead of
GetImageExport202ResponseInner; nothing in the packages imports the old name.

gooddata-sdk and gooddata-pandas need no changes: both type-check and pass their tests on
py314.

jira: F1-2973
risk: high
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@jeskepetr jeskepetr changed the title refactor: remove support for MongoDB chore(gooddata-api-client): regenerate against staging Oct 21, 2026
@jeskepetr
jeskepetr merged commit 9af4481 into master Oct 21, 2026
14 checks passed
@jeskepetr
jeskepetr deleted the PJE/F1-2973 branch October 21, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants