Skip to content

chore: bump GAF to enable GitIgnore Feature Flags - #7065

Open
octavian-snyk wants to merge 1 commit into
mainfrom
chore/bump_gaf
Open

chore: bump GAF to enable GitIgnore Feature Flags#7065
octavian-snyk wants to merge 1 commit into
mainfrom
chore/bump_gaf

Conversation

@octavian-snyk

@octavian-snyk octavian-snyk commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Pull Request Submission Checklist

  • Follows CONTRIBUTING guidelines
  • Commit messages
    are release-note ready, emphasizing
    what was changed, not how.
  • Includes detailed description of changes
  • Contains risk assessment (Low | Medium | High)
  • Highlights breaking API changes (if applicable)
  • Links to automated tests covering new functionality
  • Includes manual testing instructions (if necessary)
  • Updates relevant GitBook documentation (PR link: ___)
  • Includes product update to be announced in the next stable release notes

What does this PR do?

This PR bumps CLI's GAF version, which makes .gitignore / file-filter behavior configuration-driven instead.

GAF registers two lazy-loaded remote feature flags: FF_FILE_FILTER_METACHARACTER_FIX (clientFileFilterGitignore_MetaCharFix) and FF_GITIGNORE_RESPECT_TRACKED_FILES (clientFileFilterGitignore_TrackedFilesRollout). The metacharacter fix is fully implemented in FileFilter; when enabled, paths containing regex metacharacters (e.g. OneDrive - Foobar (Team1)) no longer break .gitignore exclusions. The tracked-files flag is registered for platform rollout (CLI-1411).

Where should the reviewer start?

cliv2/pkg/core/logheaderfooter.go
cliv2/pkg/core/workflows.go

How should this be manually tested?

Test behaviour with theFF_FILE_FILTER_METACHARACTER_FIX emabled and disabled.

What's the product update that needs to be communicated to CLI users?

Two new feature flags available. Please check above for more information.


GAF PR: snyk/go-application-framework#675

@snyk-io

snyk-io Bot commented Jul 31, 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

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

Comment on lines 49 to 53
if config.GetBool(configuration.PREVIEW_FEATURES_ENABLED) {
config.Set("INTERNAL_USE_UFM_PRESENTER", true)
config.Set(utils.FF_FILE_FILTER_METACHARACTER_FIX, true)
config.Set(utils.FF_GITIGNORE_RESPECT_TRACKED_FILES, true)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this is the current workaround that can be removed once CLI-1733 is solved, right? @octavian-snyk

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think worth adding a comment here?

@octavian-snyk
octavian-snyk force-pushed the chore/bump_gaf branch 4 times, most recently from f6b2b3d to 6faa54f Compare July 31, 2026 14:31
@octavian-snyk
octavian-snyk marked this pull request as ready for review July 31, 2026 14:32
@octavian-snyk
octavian-snyk requested a review from a team as a code owner July 31, 2026 14:32
@snyk-pr-review-bot

This comment has been minimized.

@snyk-pr-review-bot

This comment has been minimized.

@snyk-pr-review-bot

Copy link
Copy Markdown

PR Reviewer Guide 🔍

🧪 No relevant tests
🔒 No security concerns identified
⚡ No major issues detected
📚 Repository Context Analyzed

This review considered 6 relevant code sections from 5 files (average relevance: 0.92)

🤖 Repository instructions applied (from AGENTS.md)

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