Skip to content

Conversation

erka
Copy link
Contributor

@erka erka commented Aug 1, 2025

@erka erka requested a review from a team as a code owner August 1, 2025 12:08
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 1, 2025
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.75%. Comparing base (1c50aac) to head (68c3e0e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4500      +/-   ##
==========================================
+ Coverage   63.73%   63.75%   +0.01%     
==========================================
  Files         171      171              
  Lines       17622    17631       +9     
==========================================
+ Hits        11231    11240       +9     
  Misses       5720     5720              
  Partials      671      671              
Flag Coverage Δ
unittests 63.75% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
@erka erka force-pushed the rd/v1/ns-etag-multi-files branch from 431da34 to 68c3e0e Compare August 1, 2025 12:48
@erka erka added automerge Used by Kodiak bot to automerge PRs v1 Flipt v1 labels Aug 1, 2025
Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

one minor question, otherwise lgtm!

hash.Write([]byte(etag))
sum := hash.Sum(nil)
etag = hex.EncodeToString(sum)
etag = etag[:12] // truncate to 12 characters for consistency
Copy link
Collaborator

Choose a reason for hiding this comment

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

just curious why 12 and not something larger like 32?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@markphelps Docker and Git typically display a shortened version of the hash. Docker, for example, uses 12 characters. We don't use it for security reason so I decided to have a short version of it

@kodiakhq kodiakhq bot merged commit 2acc26a into main Aug 1, 2025
40 checks passed
@kodiakhq kodiakhq bot deleted the rd/v1/ns-etag-multi-files branch August 1, 2025 13:33
markphelps added a commit that referenced this pull request Aug 1, 2025
* main:
  chore: bump etag length for multi-docs to 32 (#4501)
  fix(storage): add namespace ETag support across multiple files (#4500)
  fix(ui): variant with no name is not shown in the rules (#4499)
  Update github.com/bufbuild/buf in _tools to v1.55.1 (#4460)
  chore: ensure v1 release workflows only run on a v1 release (#4458)
  chore: remove the sandbox section from readme (#4447)
  chore: Release/1.59 (#4446)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Used by Kodiak bot to automerge PRs size:S This PR changes 10-29 lines, ignoring generated files. v1 Flipt v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants