:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(warehouse_sources): add Sigma Computing reports table (#90070)
Tom Owersa479aa1c45fe
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.mdindex fd7f03c8c100..aa40070baeff 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md@@ -7585,6 +7585,14 @@ Diffed against: <https://api-reference.shutterstock.com/>Note: Coverage is solid for the images and videos verticals (categories, collections, licenses, updated feeds) but the audio, SFX, and editorial verticals are entirely absent, and collection membership is never resolved.+## SigmaComputing — gaps++Today (10): `Connections`, `DataModels`, `Members`, `Reports`, `Teams`, `WorkbookElements`, `WorkbookPages`, `WorkbookQueries`, `Workbooks`, `Workspaces`++Diffed against: <https://help.sigmacomputing.com/reference/get-started-sigma-api>++- [x] `reports (GET /v2/reports)` — org-level catalog of saved reports, the same top-level content shape as workbooks and data models, added here+## SigNoz — gapsToday (5): `alert_rules`, `dashboards`, `logs`, `notification_channels`, `traces`diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/canonical_descriptions.py b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/canonical_descriptions.pyindex 0a78b2cd6cce..e39d2588b8ed 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/canonical_descriptions.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/canonical_descriptions.py@@ -108,6 +108,25 @@ CANONICAL_DESCRIPTIONS: CanonicalDescriptions = {"updatedAt": "Timestamp when the workspace was last updated.",},},+ "Reports": {+ "description": "A Sigma report: a saved, formatted document built from workbook content for scheduled delivery or export.",+ "docs_url": "https://help.sigmacomputing.com/reference/listreports",+ "columns": {+ "reportId": "Unique identifier for the report.",+ "reportUrlId": "Base62-encoded identifier used in the report's URL.",+ "name": "Name of the report.",+ "url": "URL to open the report in Sigma.",+ "path": "Folder path where the report is stored.",+ "latestVersion": "Version number of the report's latest published revision.",+ "ownerId": "Member ID of the report's current owner.",+ "createdBy": "Member ID of the user who created the report.",+ "updatedBy": "Member ID of the user who last updated the report.",+ "createdAt": "Timestamp when the report was created.",+ "updatedAt": "Timestamp when the report was last updated.",+ "isArchived": "Whether the report has been archived.",+ "description": "Free-text description of the report.",+ },+ },"WorkbookElements": {"description": "An element (chart, table, or control) placed on a page within a Sigma workbook.","docs_url": "https://help.sigmacomputing.com/reference/listworkbookelements",diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/settings.py b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/settings.pyindex 9a5ce5e9a292..65bc5341b7ca 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/settings.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/settings.py@@ -102,6 +102,11 @@ SIGMA_ENDPOINTS: dict[str, SigmaComputingEndpointConfig] = {path="/v2/workspaces",primary_key="workspaceId",),+ "Reports": SigmaComputingEndpointConfig(+ name="Reports",+ path="/v2/reports",+ primary_key="reportId",+ ),"WorkbookElements": SigmaComputingEndpointConfig(name="WorkbookElements",path="/v2/workbooks/{workbookId}/elements",diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/tests/test_sigma_computing.py b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/tests/test_sigma_computing.pyindex da7000f19bce..f36a177dd227 100644--- a/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/tests/test_sigma_computing.py+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/sigma_computing/tests/test_sigma_computing.py@@ -242,6 +242,7 @@ class TestSigmaComputingSourceTopLevel:("Teams", "/v2/teams"),("Members", "/v2/members"),("Workspaces", "/v2/workspaces"),+ ("Reports", "/v2/reports"),],)def test_every_top_level_endpoint_requests_its_documented_path(