Skip to content

test checkbox#12947

Open
Itay-Tsabary-Starkware wants to merge 1 commit intomainfrom
03-02-test_checkbox
Open

test checkbox#12947
Itay-Tsabary-Starkware wants to merge 1 commit intomainfrom
03-02-test_checkbox

Conversation

@Itay-Tsabary-Starkware
Copy link
Collaborator

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware commented Mar 2, 2026

Note

Low Risk
Low risk CI-only change: it adds a new workflow with a manual environment gate and a simple file existence check; no runtime logic changes beyond minor whitespace.

Overview
Introduces a new GitHub Actions workflow, apollo_deployments_service_ack.yml, that triggers on PRs touching crates/apollo_deployments/src/service.rs and requires manual environment approval (apollo-deployments-service-ack) before the workflow completes.

The workflow first asserts the file still exists, then prints an acknowledgment message sourced from APOLLO_SERVICE_RS_MESSAGE (or a placeholder). Separately, service.rs only changes whitespace (extra blank lines).

Written by Cursor Bugbot for commit ca474c2. This will update automatically on new commits. Configure here.

@reviewable-StarkWare
Copy link

This change is Reviewable

@Itay-Tsabary-Starkware Itay-Tsabary-Starkware deployed to apollo-deployments-service-ack March 2, 2026 10:25 — with GitHub Actions Active
Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

run: |
echo "--- Acknowledgment message ---"
if [ -n "${{ vars.APOLLO_SERVICE_RS_MESSAGE }}" ]; then
echo "${{ vars.APOLLO_SERVICE_RS_MESSAGE }}"
Copy link

Choose a reason for hiding this comment

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

Shell script injection via direct variable interpolation

Low Severity

${{ vars.APOLLO_SERVICE_RS_MESSAGE }} is directly interpolated into the shell script before execution. If the variable value contains shell metacharacters (e.g., double quotes, backticks, or $(...)), they will be interpreted by the shell, potentially causing unexpected command execution or script failure. The safe pattern is to pass the value via env: and reference it as a shell variable (e.g., $MESSAGE), which avoids inline expansion.

Fix in Cursor Fix in Web

const REMOTE_SERVICE_URL_PLACEHOLDER: &str = "remote_service";



Copy link

Choose a reason for hiding this comment

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

Extra blank lines appear accidentally committed for testing

Low Severity

Two extra blank lines were added to service.rs between the constant declarations and the KEYS_TO_BE_REPLACED definition. Given the PR title "test checkbox," these appear to be a trivial change committed solely to trigger the new workflow during testing, rather than an intentional formatting improvement.

Fix in Cursor Fix in Web

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.

2 participants