sadpandajoe opened a new pull request, #42482:
URL: https://github.com/apache/superset/pull/42482

   ### SUMMARY
   
   The weekly Docker image refresh checks out the latest release tag before 
invoking repository-local actions. That made every scheduled run use stale 
action definitions from the release tag; the Apache GitHub Actions allowlist 
rejected those old Docker action pins before any image build could start.
   
   This change keeps the release checkout as the Docker build context, adds a 
sparse checkout of the triggering workflow SHA for local composite actions, and 
invokes `setup-docker` and `setup-supersetbot` from that trusted checkout. It 
also changes the failure notifier to the existing `#bug` label and adds 
regression coverage that is selected for future workflow-only changes.
   
   Observed failure: https://github.com/apache/superset/actions/runs/30244677430
   Introduced with #40426.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Not applicable; CI-only change.
   
   ### TESTING INSTRUCTIONS
   
   ```bash
   PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 PYTHONPATH=. pytest -q --noconftest 
tests/unit_tests/scheduled_docker_image_refresh_test.py 
tests/unit_tests/scripts/change_detector_test.py
   pre-commit run --files .github/workflows/scheduled-docker-image-refresh.yml 
scripts/change_detector.py 
tests/unit_tests/scheduled_docker_image_refresh_test.py
   npx --yes --package=@action-validator/[email protected] 
--package=@action-validator/[email protected] action-validator 
.github/workflows/scheduled-docker-image-refresh.yml
   ```
   
   All seven focused tests and the scoped validators pass. `pre-commit run 
--all-files` was also run; it passed the relevant hooks but remains nonzero on 
pre-existing oxlint and Ruff violations in untouched files.
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to