Skip to content

remove mentions to --with-plugins-docker-image#22059

Merged
Tofel merged 1 commit into
developfrom
local-cre-cleanup-setup
Apr 17, 2026
Merged

remove mentions to --with-plugins-docker-image#22059
Tofel merged 1 commit into
developfrom
local-cre-cleanup-setup

Conversation

@Tofel
Copy link
Copy Markdown
Contributor

@Tofel Tofel commented Apr 17, 2026

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions
Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@Tofel Tofel marked this pull request as ready for review April 17, 2026 10:15
@Tofel Tofel requested review from a team as code owners April 17, 2026 10:15
Copilot AI review requested due to automatic review settings April 17, 2026 10:15
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 17, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Copy link
Copy Markdown
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

Removes user-facing references to the deprecated --with-plugins-docker-image flag from Local CRE setup messaging and (intended) shell completions.

Changes:

  • Removed the --with-plugins-docker-image hint from the post-setup “how to start” instructions.
  • Removed --with-plugins-docker-image from the legacy/manual completion tree list in completions.go.

Reviewed changes

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

File Description
core/scripts/cre/environment/environment/setup.go Drops the deprecated flag from printed “Optional” startup guidance.
core/scripts/cre/environment/completions.go Removes the deprecated flag from the legacy/manual completion list (note: current completions are built from Cobra).

Comment on lines 243 to 247
{Text: "--wait-on-error-timeout", Description: "Time to wait before removing Docker containers if environment fails to start (e.g. 10s, 1m, 1h) (default: 15s)"},
{Text: "--extra-allowed-gateway-ports", Description: "Extra allowed ports for outgoing connections from the Gateway Connector (e.g. 8080,8081)"},
{Text: "--with-example", Description: "Deploys and registers example workflow (default: false)"},
{Text: "--example-workflow-timeout", Description: "Time to wait until example workflow succeeds (e.g. 10s, 1m, 1h) (default: 5m)"},
{Text: "--with-plugins-docker-image", Description: "Docker image to use (must have all capabilities included)"},
{Text: "--with-beholder", Description: "Deploys Beholder (Chip Ingress + Red Panda) (default: false)"},
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

This removal is in buildCommandTree(), but StartShell() initializes completions via buildCommandTreeFromCobra() (which introspects Cobra flags). Since the --with-plugins-docker-image flag is still defined on the Cobra command tree, it will still be suggested in the interactive shell despite this change. If the intent is to remove completion mentions, either filter it out in extractFlagsFromCobraCommand (e.g., skip deprecated/hidden flags) and/or mark the flag hidden in the Cobra command definition.

Copilot uses AI. Check for mistakes.
@cl-sonarqube-production
Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@Tofel Tofel added this pull request to the merge queue Apr 17, 2026
Merged via the queue into develop with commit 1e3df16 Apr 17, 2026
114 checks passed
@Tofel Tofel deleted the local-cre-cleanup-setup branch April 17, 2026 12:03
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