Skip to content

build: empty private requirements - #366

Merged
jansenk merged 2 commits into
masterfrom
jkantor/remove-private-requirements
Aug 11, 2026
Merged

build: empty private requirements#366
jansenk merged 2 commits into
masterfrom
jkantor/remove-private-requirements

Conversation

@jansenk

@jansenk jansenk commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

This setting should only be currently read by sandboxes, so these were moved over to sandbox_internal to reduce potential confusion re: where they are actually used.

see https://github.com/edx/sandbox-internal/pull/391

Copilot AI lite review requested due to automatic review settings August 10, 2026 15:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes the default, hard-coded EDXAPP_PRIVATE_REQUIREMENTS list from the edxapp role defaults to avoid implying these dependencies are broadly used, leaving an empty default intended for sandbox-specific configuration.

Changes:

  • Replaces the previously populated EDXAPP_PRIVATE_REQUIREMENTS defaults with an empty list.
  • Updates the surrounding comment to remove the “Edge” reference and narrow the stated scope to EC2 sandboxes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread playbooks/roles/edxapp/defaults/main.yml Outdated
Comment thread playbooks/roles/edxapp/defaults/main.yml Outdated
Copilot AI review requested due to automatic review settings August 10, 2026 16:01
@jansenk
jansenk force-pushed the jkantor/remove-private-requirements branch from 284d96e to d88f8c9 Compare August 10, 2026 16:01

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

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

Suppressed comments (1)

playbooks/roles/edxapp/defaults/main.yml:529

  • The comment says these defaults are used for sandboxes in EC2, but the list is now intentionally empty per the PR description. Clarifying where sandbox private requirements are now defined would avoid confusion for future maintainers.
# Defaults for EDXAPP_PRIVATE_REQUIREMENTS are used for sandboxes in EC2.
EDXAPP_PRIVATE_REQUIREMENTS: []

Comment thread playbooks/roles/edxapp/defaults/main.yml
Copilot AI review requested due to automatic review settings August 11, 2026 13:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Suppressed comments (1)

playbooks/roles/edxapp/defaults/main.yml:529

  • EDXAPP_PRIVATE_REQUIREMENTS entries are consumed as objects with .name and optional .extra_args (see roles/edxapp/tasks/deploy.yml). With the defaults now an empty list, it’s easy for future overrides to accidentally supply a list of strings (which will break the install task). Consider documenting the expected item shape here, and note that the list is only used when EDXAPP_INSTALL_PRIVATE_REQUIREMENTS is enabled.
# Defaults for EDXAPP_PRIVATE_REQUIREMENTS are used for sandboxes in EC2.
EDXAPP_PRIVATE_REQUIREMENTS: []

@jansenk
jansenk merged commit ee6de30 into master Aug 11, 2026
2 of 4 checks passed
@jansenk
jansenk deleted the jkantor/remove-private-requirements branch August 11, 2026 16:44
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