Skip to content

[DO NOT MERGE] chore: validate the CLI against unreleased GAF work [CLI-1986] - #7442

Draft
PeterSchafer wants to merge 2 commits into
mainfrom
chore/CLI-1986_gaf-canary
Draft

PeterSchafer wants to merge 2 commits into
mainfrom
chore/CLI-1986_gaf-canary

Conversation

@PeterSchafer

Copy link
Copy Markdown
Contributor

Canary branch. It carries the CLI work under test plus one temporary commit that pins an unreleased go-application-framework commit, so the CLI CI shows early whether the framework work breaks the CLI. It is rebuilt regularly and never merged.

🤖 Generated with Claude Code

@snyk-io

snyk-io Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues
✅ Secrets 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
Warnings
⚠️ There are multiple commits on your branch, please squash them locally before merging!
⚠️

"[[DO NOT MERGE] chore: validate the CLI against unreleased GAF work CLI-1986](#7442)" is too long. Keep the first line of your commit message under 72 characters.

⚠️

"[chore: TEMPORARY pin GAF 101ceb521511 to validate the CLI, do not merge CLI-1986](https://api.github.com/repos/snyk/cli/git/commits/d6f30df1004231f84bdac1225cebed9859adb61f)" is too long. Keep the first line of your commit message under 72 characters.

⚠️

"[feat: select the configuration profile of a command with --config-profile CLI-1986](https://api.github.com/repos/snyk/cli/git/commits/64435be47fe47942c04d2db50bfd6f401c409198)" is too long. Keep the first line of your commit message under 72 characters.

Generated by 🚫 dangerJS against d6f30df

@PeterSchafer
PeterSchafer force-pushed the chore/CLI-1986_gaf-canary branch from 8665e60 to 0d08288 Compare October 29, 2026 18:29
PeterSchafer and others added 2 commits October 30, 2026 23:18
…file [CLI-1986]

A profile is a named settings file in the configstore's profiles directory,
next to the default configuration. --config-profile, or SNYK_CONFIG_PROFILE
when the flag is not given, selects the profile for the command. The flag is
not called --profile, because `snyk mcp` already has a flag of that name.

- The engine runs the root invocations of the command on the selected
  profile. Without a profile the run is unchanged, the registry is only
  enabled when a profile is requested.
- The command's own settings (input directory, raw arguments, the presenter
  of test commands) are set on the profile too, because a profile is derived
  from the configuration of the run and does not carry values set afterwards.
- The analytics, the instrumentation, the debug log footer and its token
  fingerprint use the credentials and host of the profile. A profile that
  cannot be used fails the command with a validation error and reports
  nothing.
- The legacy CLI reads only the default configuration file, so it is refused
  for a profile other than the default one.

Known limitation: environment variables such as SNYK_TOKEN still apply to
every profile. A test pins this until environment blocking lands.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ge [CLI-1986]

Not part of any real change. This commit points go-application-framework at
an unreleased commit so the CLI CI shows early whether the framework work
breaks the CLI. Drop it before anything merges.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@PeterSchafer
PeterSchafer force-pushed the chore/CLI-1986_gaf-canary branch from 0d08288 to d6f30df Compare October 30, 2026 22:19
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.

1 participant