Skip to content

Conversation

@sylvainsf
Copy link
Contributor

Description

This PR removes the manual approval workflow for functional tests and simplifies the CI architecture by using GitHub's native fork approval mechanism.

Changes Made

Removed Files

  • .github/workflows/functional-tests-approval.yaml - The manual approval workflow that gated functional tests
  • .github/actions/download-pr-data-artifact/ - The composite action that retrieved PR numbers from approval workflow artifacts

Modified Files

  • .github/workflows/functional-test-cloud.yaml:
    • Replaced workflow_run trigger (dependent on "Approve Functional Tests") with direct pull_request trigger
    • Removed workflow_run-specific environment variables and logging
    • Removed "Download PR data artifacts" and "Set PR context (workflow_run)" steps
    • Updated job if conditions to use pull_request instead of workflow_run

Benefits

  1. Simplified architecture - Direct pull_request trigger instead of workflow_run chain
  2. Better PR visibility - Test status now appears directly in PR checks section (previously was a separate workflow run)
  3. Native fork protection - Uses GitHub's built-in "Require approval for outside collaborators" setting instead of custom environment-based approval
  4. Faster feedback - No intermediate approval workflow step for org members
  5. Reduced maintenance - Fewer custom actions and workflow coordination logic

Configuration Required

GitHub organization/repository settings have been configured:

  • Settings → Actions → General → Fork pull request workflows set to require approval for outside collaborators

This ensures org members' PRs run automatically while external contributors' PRs wait for maintainer approval using GitHub's native UI.

Type of change

  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: N/A

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
    • Yes
    • Not applicable
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
    • Yes
    • Not applicable
  • The design document has been reviewed and approved by Radius maintainers/approvers.
    • Yes
    • Not applicable
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
    • Yes
    • Not applicable
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
    • Yes
    • Not applicable
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.
    • Yes
    • Not applicable

Signed-off-by: Sylvain Niles <sylvainniles@microsoft.com>
Signed-off-by: Sylvain Niles <sylvainniles@microsoft.com>
@sylvainsf sylvainsf requested review from a team as code owners January 24, 2026 22:29
Signed-off-by: Sylvain Niles <sylvainniles@microsoft.com>
@radius-functional-tests
Copy link

radius-functional-tests bot commented Jan 24, 2026

Radius functional test overview

🔍 Go to test action run

Click here to see the test run details
Name Value
Repository radius-project/radius
Commit ref bb63e2e
Unique ID func0785ecc0ad
Image tag pr-func0785ecc0ad
  • gotestsum 1.13.0
  • KinD: v0.29.0
  • Dapr: 1.14.4
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func0785ecc0ad
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func0785ecc0ad
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func0785ecc0ad
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func0785ecc0ad
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func0785ecc0ad
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
❌ Test tool installation for ucp-cloud failed. Please check the logs for more details
❌ Failed to install Radius for ucp-cloud functional test. Please check the logs for more details
❌ ucp-cloud functional test failed. Please check the logs for more details
❌ corerp-cloud functional test cancelled. Please check the logs for more details

@ytimocin
Copy link
Contributor

There seems to be some permission issues.

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.

3 participants