Skip to content

fix: move Fusion DuckDB tests off pull_request_target to safe trigger#578

Merged
b-per merged 1 commit into
mainfrom
fix/move-fusion-duckdb-to-safe-trigger
May 20, 2026
Merged

fix: move Fusion DuckDB tests off pull_request_target to safe trigger#578
b-per merged 1 commit into
mainfrom
fix/move-fusion-duckdb-to-safe-trigger

Conversation

@b-per
Copy link
Copy Markdown
Collaborator

@b-per b-per commented May 20, 2026

Summary

  • The run-duckdb-tests job in fusion.yml used pull_request_target (runs in base repo context) while checking out and executing fork PR code with no environment approval gate — a classic pwn-request vulnerability
  • Moved the Fusion + DuckDB job into local_only.yml, which uses the safe pull_request trigger (no base repo context, no secrets)
  • Removed run-duckdb-tests from fusion.yml and dropped the needs: dependency from fusion-tests (the Snowflake cloud job is already gated by the cloud-tests environment for fork PRs)
  • Updated the comment in tox.ini to point to the new home

Test plan

  • Verify Package Integration Tests - Local Only workflow runs the new run-fusion-duckdb-tests job on this PR
  • Verify Fusion Integration Tests workflow no longer shows a run-duckdb-tests job
  • Verify fusion-tests (Snowflake) still requires environment approval for fork PRs

The run-duckdb-tests job in fusion.yml used pull_request_target (base
repo context + secrets) while checking out and executing fork PR code
without an environment approval gate — a classic pwn-request vector.

Move the Fusion + DuckDB job into local_only.yml which uses the safe
pull_request trigger. Remove the now-unnecessary run-duckdb-tests job
from fusion.yml and drop the needs: dependency from fusion-tests (the
Snowflake cloud job is already gated by the cloud-tests environment).
@b-per b-per requested review from a team and graciegoheen as code owners May 20, 2026 12:50
@b-per b-per merged commit e413547 into main May 20, 2026
10 of 11 checks passed
@b-per b-per deleted the fix/move-fusion-duckdb-to-safe-trigger branch May 20, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant