-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
We are using spectacles with github actions to automatically detect errors for Looker PRs.
This is the command we run
Run spectacles sql --do-not-track --config-file ./spectacles/config.yaml --project heb --branch cicd --explores -heb/google_ads_campaign_test --incremental --remote-reset -v
This is the log for the job run on Github's side.
Run spectacles sql --do-not-track --config-file ./spectacles/config.yaml --project heb --branch cicd --explores -heb/google_ads_campaign_test --incremental --remote-reset -v
Authenticating to the Looker as client ID '***'
Checking Looker instance release version
Connected to Looker version 24.0.39 using Looker API 4.0
Setting up branch manager in project 'heb'
Setting Git state for project 'heb' @ cicd:
.. Getting the workspace in use by this session
.. Getting active branch for project 'heb'
.. The active branch is '__LOOKER_PROD_7c29b30778aa4473fd9d46ef04e66abdf2d4e2a5'
.. Updating session to use the dev workspace
.. Getting the workspace in use by this session
.. Getting active branch for project 'heb'
.. The active branch is 'cicd'
.. Branching 'tmp_spectacles_d2b4b79edd' off 'origin/cicd'. Afterwards, restoring to
branch '__LOOKER_PROD_7c29b30778aa4473fd9d46ef04e66abdf2d4e2a5' in project 'heb'
.. Creating branch 'tmp_spectacles_d2b4b79edd' on project 'heb'
.. Creating branch 'tmp_spectacles_d2b4b79edd' on project 'heb'
.. Creating branch 'tmp_spectacles_d2b4b79edd' on project 'heb'
Completed SQL validation in [15](https://github.com/homeequitybank/LookML-HEB-Preprod/actions/runs/7935607433/job/21669135029?pr=309#step:7:16) seconds.
Couldn't create new Git branch. Unable to create branch 'tmp_spectacles_d2b4b79edd' in project 'heb'. Confirm the branch doesn't already exist and try again.
Run in verbose mode (-v) or check your log file to see the full response from the Looker API. For support, please create an issue at https://github.com/spectacles-ci/spectacles/issues
.. Spectacles received a 409 response code from the Looker API with the following
details: {
"message": "A branch named tmp_spectacles_d2b4b79edd already exists",
"documentation_url": "https://cloud.google.com/looker/docs/r/err/4.0/409/post/proje
cts/:project_id/git_branch"
}
Error: Process completed with exit code 101.
Looker API is returning to me that the branch exists. But
- Spectacles auto-delete branches after a job regardless of if it succeeds or fails right?
- I do not see those branches when I go to the branches tab on github repo nor when I do
git branch -r.
Please advise.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels