Improved Git branch handling and path clarifications
Dataform now makes the Git default branch setting optional and provides a resolved 'effective' branch field, alongside clearer path definitions for directory entries.
The GitRemoteSettings schema has been updated to make the 'defaultBranch' field optional. To support this, a new output-only field 'effectiveDefaultBranch' has been added, which reveals the actual branch being used (defaulting to 'main' if not specified). Additionally, the DirectoryEntry schema now explicitly states that 'file' and 'directory' paths are returned as full paths from the root, and the teamFolders.search method now documents a default pageSize of 50.
Asynchronous repository deletion and Git branch improvements
Dataform introduces long-running repository deletion and clarifies Git default branch behavior.
A new method repositories.deleteLongRunning has been added, allowing developers to delete repositories asynchronously. This includes a force parameter in the DeleteRepositoryLongRunningRequest to automatically clean up child resources like compilation results and workflow invocations, though it notably fails if workspaces or configs still exist. Additionally, GitRemoteSettings.defaultBranch is now optional (defaulting to 'main'), and a new output-only effectiveDefaultBranch field helps identify the active branch being used by the service.