Turn off snapshot commit bot (#5197)
Our team is actively investigating a recent spike in flaky WebRTC connection behavior, which has impacted the web-only Playwright snapshot tests particularly hard. The bot squashes other GH Actions in it's wake, so I think we should turn it off so we can see the other E2E tests more clearly
This commit is contained in:
		
							
								
								
									
										56
									
								
								.github/workflows/e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										56
									
								
								.github/workflows/e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							@ -126,20 +126,20 @@ jobs:
 | 
			
		||||
    - name: build electron
 | 
			
		||||
      shell: bash
 | 
			
		||||
      run: yarn tron:package
 | 
			
		||||
    - name: Run ubuntu/chrome snapshots
 | 
			
		||||
      if: ${{ matrix.os == 'namespace-profile-ubuntu-8-cores' && matrix.shardIndex == 1 }}
 | 
			
		||||
      shell: bash
 | 
			
		||||
      # TODO: break this in its own job, for now it's not slowing down the overall execution as ubuntu is the quickest,
 | 
			
		||||
      # but we could do better. This forces a large 1/1 shard of all 20 snapshot tests that runs in about 3 minutes.
 | 
			
		||||
      run: |
 | 
			
		||||
        PLATFORM=web yarn playwright test --config=playwright.config.ts --retries="3" --update-snapshots --grep=@snapshot  --shard=1/1
 | 
			
		||||
      env:
 | 
			
		||||
        CI: true
 | 
			
		||||
        NODE_ENV: development
 | 
			
		||||
        VITE_KC_DEV_TOKEN: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}
 | 
			
		||||
        VITE_KC_SKIP_AUTH: true
 | 
			
		||||
        token: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}
 | 
			
		||||
        snapshottoken: ${{ secrets.KITTYCAD_API_TOKEN }}
 | 
			
		||||
    # - name: Run ubuntu/chrome snapshots
 | 
			
		||||
    #   if: ${{ matrix.os == 'namespace-profile-ubuntu-8-cores' && matrix.shardIndex == 1 }}
 | 
			
		||||
    #   shell: bash
 | 
			
		||||
    #   # TODO: break this in its own job, for now it's not slowing down the overall execution as ubuntu is the quickest,
 | 
			
		||||
    #   # but we could do better. This forces a large 1/1 shard of all 20 snapshot tests that runs in about 3 minutes.
 | 
			
		||||
    #   run: |
 | 
			
		||||
    #     PLATFORM=web yarn playwright test --config=playwright.config.ts --retries="3" --update-snapshots --grep=@snapshot  --shard=1/1
 | 
			
		||||
    #   env:
 | 
			
		||||
    #     CI: true
 | 
			
		||||
    #     NODE_ENV: development
 | 
			
		||||
    #     VITE_KC_DEV_TOKEN: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}
 | 
			
		||||
    #     VITE_KC_SKIP_AUTH: true
 | 
			
		||||
    #     token: ${{ secrets.KITTYCAD_API_TOKEN_DEV }}
 | 
			
		||||
    #     snapshottoken: ${{ secrets.KITTYCAD_API_TOKEN }}
 | 
			
		||||
    - uses: actions/upload-artifact@v4
 | 
			
		||||
      if: ${{ !cancelled() && (success() || failure()) }}
 | 
			
		||||
      with:
 | 
			
		||||
@ -162,20 +162,20 @@ jobs:
 | 
			
		||||
          then echo "modified=true" >> $GITHUB_OUTPUT
 | 
			
		||||
          else echo "modified=false" >> $GITHUB_OUTPUT
 | 
			
		||||
          fi
 | 
			
		||||
    - name: Commit changes, if any
 | 
			
		||||
      if: steps.git-check.outputs.modified == 'true'
 | 
			
		||||
      shell: bash
 | 
			
		||||
      run: |
 | 
			
		||||
        git add .
 | 
			
		||||
        git config --local user.email "github-actions[bot]@users.noreply.github.com"
 | 
			
		||||
        git config --local user.name "github-actions[bot]"
 | 
			
		||||
        git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
 | 
			
		||||
        git fetch origin
 | 
			
		||||
        echo ${{ github.head_ref }}
 | 
			
		||||
        git checkout ${{ github.head_ref }}
 | 
			
		||||
        git commit -am "A snapshot a day keeps the bugs away! 📷🐛 (OS: ${{matrix.os}})" || true
 | 
			
		||||
        git push
 | 
			
		||||
        git push origin ${{ github.head_ref }}
 | 
			
		||||
    # - name: Commit changes, if any
 | 
			
		||||
    #   if: steps.git-check.outputs.modified == 'true'
 | 
			
		||||
    #   shell: bash
 | 
			
		||||
    #   run: |
 | 
			
		||||
    #     git add .
 | 
			
		||||
    #     git config --local user.email "github-actions[bot]@users.noreply.github.com"
 | 
			
		||||
    #     git config --local user.name "github-actions[bot]"
 | 
			
		||||
    #     git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
 | 
			
		||||
    #     git fetch origin
 | 
			
		||||
    #     echo ${{ github.head_ref }}
 | 
			
		||||
    #     git checkout ${{ github.head_ref }}
 | 
			
		||||
    #     git commit -am "A snapshot a day keeps the bugs away! 📷🐛 (OS: ${{matrix.os}})" || true
 | 
			
		||||
    #     git push
 | 
			
		||||
    #     git push origin ${{ github.head_ref }}
 | 
			
		||||
    # only upload artifacts if there's actually changes
 | 
			
		||||
    - uses: actions/upload-artifact@v4
 | 
			
		||||
      if: steps.git-check.outputs.modified == 'true'
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user