Skip to content

feat(Code References): Allow empty code reference scans to clear references#7764

Merged
emyller merged 1 commit into
mainfrom
feat/empty-code-references
Jun 11, 2026
Merged

feat(Code References): Allow empty code reference scans to clear references#7764
emyller merged 1 commit into
mainfrom
feat/empty-code-references

Conversation

@emyller

@emyller emyller commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Closes #7763.

Allow pushing empty code references, meaning "clear all code references in given repository".

How did you test this code?

Included new test case.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@emyller emyller self-assigned this Jun 11, 2026
@emyller emyller requested a review from a team as a code owner June 11, 2026 19:56
@emyller emyller requested review from khvn26 and removed request for a team June 11, 2026 19:56
@vercel

vercel Bot commented Jun 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs Ignored Ignored Jun 11, 2026 7:57pm
flagsmith-frontend-preview Ignored Ignored Jun 11, 2026 7:57pm
flagsmith-frontend-staging Ignored Ignored Jun 11, 2026 7:57pm

Request Review

@github-actions github-actions Bot added api Issue related to the REST API feature New feature or request labels Jun 11, 2026
@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-e2e:pr-7764 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-api-test:pr-7764 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-7764 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-7764 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-api:pr-7764 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-7764 Finished ✅ Results

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.56%. Comparing base (5d410f2) to head (4f9ad90).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7764      +/-   ##
==========================================
+ Coverage   98.49%   98.56%   +0.06%     
==========================================
  Files        1459     1459              
  Lines       56095    56134      +39     
==========================================
+ Hits        55253    55327      +74     
+ Misses        842      807      -35     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Playwright Test Results (oss - depot-ubuntu-latest-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  40.7 seconds
commit  4f9ad90
info  🔄 Run: #17443 (attempt 1)

Playwright Test Results (oss - depot-ubuntu-latest-arm-16)

passed  1 passed

Details

stats  1 test across 1 suite
duration  44.3 seconds
commit  4f9ad90
info  🔄 Run: #17443 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)

passed  2 passed

Details

stats  2 tests across 2 suites
duration  41.4 seconds
commit  4f9ad90
info  🔄 Run: #17443 (attempt 1)

Playwright Test Results (private-cloud - depot-ubuntu-latest-16)

passed  3 passed

Details

stats  3 tests across 3 suites
duration  40 seconds
commit  4f9ad90
info  🔄 Run: #17443 (attempt 1)

@github-actions

Copy link
Copy Markdown
Contributor

Visual Regression

19 screenshots compared. See report for details.
View full report

@emyller emyller merged commit 879046c into main Jun 11, 2026
33 checks passed
@emyller emyller deleted the feat/empty-code-references branch June 11, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to empty code references in a repository

3 participants