Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cleanup feature flag actions_container_action_runner_temp#4163

Merged
ericsciple merged 1 commit intomainfrom
users/ericsciple/25-12-clean
Dec 18, 2025
Merged

Cleanup feature flag actions_container_action_runner_temp#4163
ericsciple merged 1 commit intomainfrom
users/ericsciple/25-12-clean

Conversation

@ericsciple
Copy link
Collaborator

@ericsciple ericsciple commented Dec 18, 2025

Related to container action support for actions/checkout@v6 on GHES

Copilot AI review requested due to automatic review settings December 18, 2025 20:49
@ericsciple ericsciple requested a review from a team as a code owner December 18, 2025 20:49
@ericsciple ericsciple changed the title Remove ContainerActionRunnerTemp feature flag and always map runner temp for container actions Cleanup feature flag actions_container_action_runner_temp Dec 18, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the ContainerActionRunnerTemp feature flag and makes the runner temp directory mounting behavior permanent for container actions. The feature flag previously controlled whether the runner temp directory would be mounted and path-translated in container actions.

Key Changes

  • Unconditionally mount /github/runner_temp volume in container actions without checking the feature flag
  • Remove the IsContainerActionRunnerTempEnabled method from FeatureManager
  • Remove the ContainerActionRunnerTemp constant from the Features class

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/Runner.Worker/Handlers/ContainerActionHandler.cs Removed conditional checks for the feature flag, making runner_temp volume mounting and path translation permanent
src/Runner.Worker/FeatureManager.cs Removed the IsContainerActionRunnerTempEnabled method that checked the feature flag
src/Runner.Common/Constants.cs Removed the ContainerActionRunnerTemp feature flag constant and some trailing whitespace

Comment on lines +176 to +187

// Node version migration related constants
public static class NodeMigration
{
// Node versions
public static readonly string Node20 = "node20";
public static readonly string Node24 = "node24";

// Environment variables for controlling node version selection
public static readonly string ForceNode24Variable = "FORCE_JAVASCRIPT_ACTIONS_TO_NODE24";
public static readonly string AllowUnsecureNodeVersionVariable = "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION";

Copy link

Copilot AI Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These whitespace-only changes appear to be unintentional. The trailing whitespace has been removed from empty lines in the NodeMigration section, which is unrelated to the feature flag removal. Consider reverting these whitespace changes to keep this PR focused on the ContainerActionRunnerTemp feature flag removal, or if this is intentional code formatting, it should be applied consistently across the entire file.

Copilot uses AI. Check for mistakes.
@ericsciple ericsciple merged commit 04d77df into main Dec 18, 2025
17 checks passed
@ericsciple ericsciple deleted the users/ericsciple/25-12-clean branch December 18, 2025 20:53
alinetskyi pushed a commit to CoreumFoundation/runner that referenced this pull request Jan 26, 2026
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.

4 participants