Loading…
Reference in a new issue
No description provided.
Delete branch "2230"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Closes swamp-club #2230 and #2628.
#2230:
inventory_project_metadataon@swamp/gcp/cloudassetassetsA new GCP enrichment runs Cloud Asset
searchAllResourcesover one project and saves one snapshot containing only resource metadata.maxAssets(default 10000, must be a positive whole number), or a page returns an error, isn't valid JSON, or repeats a page token, the method fails and saves nothing. It never truncates silently.additionalAttributes,descriptionandversionedResourcesare never stored.queryandassetTypesare passed through unchanged, and results are sorted by name so snapshots of an unchanged project compare equal.coverage: "caller-visible"andsource: "search-index", the convention frominventory_hierarchy(#2207). It includes a note that search-index results can lag and are not proof that backup or retention is complete.searchAllResourcessits on the discovery document'sv1resource, which has no get, list or insert method, so the pipeline never produced a model for it.#2628: enrichment snapshots include their required
nameinventory_enabled,inventory_hierarchy,audit_effective_policiesandinventory_recommendationssaved snapshots withoutname, which each model's state schema requires. They now setnameto the name the snapshot is saved under; that name itself is unchanged. Each test suite now checks the name and checks that the snapshot passesmodel.resources.state.schema. Those checks failed before the fix and pass after it.Generated output
cloudasset,serviceusage,cloudresourcemanager,orgpolicyandrecommenderare regenerated to2026.09.28.1. Each model has a new upgrade entry and a manifest bump.Test plan
inventory_project_metadatatests.2026.09.28.1.d03d74ff-d896-4750-8105-b04a2cad8603covers commitfd5afa1.🤖 Generated with Claude Code