Skip to content

feat(telemetry): send mount config in x-goog-storage-gcsfuse-features - #5274

Open
PranjalC100 wants to merge 1 commit into
masterfrom
feat-telemetry-gcsfuse-features-header
Open

PranjalC100 wants to merge 1 commit into
masterfrom
feat-telemetry-gcsfuse-features-header

Conversation

@PranjalC100

@PranjalC100 PranjalC100 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Description

  • Send the mount config payload (base64url ConfigPayload) on GetStorageLayout in the dedicated x-goog-storage-gcsfuse-features header instead of the temporary x-goog-storage-go-features bridge, which has to be removed by January 2027.
  • The payload and the calls that carry it (GetStorageLayout only) are unchanged.
  • Keep this as a draft until GCS accepts and logs the new header. Until then GCS ignores it (CloudPath) or ESF strips it (DirectPath), so payloads from builds with this change aren't logged.

Link to the issue in case of a bug fix.

  • b/588141971, under b/575276203.
  • Merge after the GCS side lands: b/588140390 (DirectPath allowlist) and b/588141772 (logging the header).

Testing details

  1. Manual - NA (end-to-end check needs the GCS side of the header)
  2. Unit tests - TestLookupBucketType_MountConfigsMetadata now checks the payload is sent in x-goog-storage-gcsfuse-features.
  3. Integration tests - NA

Any backward incompatible change? If so, please explain.

No.

@gemini-code-assist gemini-code-assist Bot left a comment

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.

Code Review

This pull request updates the metadata header key used for sending the base64url-encoded ConfigPayload proto on GetStorageLayout calls from 'x-goog-storage-go-features' to 'x-goog-storage-gcsfuse-features'. The corresponding tests and comments have been updated to reflect this change. There are no review comments, and I have no additional feedback to provide.

GCSFuse sends its mount config (the base64url-encoded ConfigPayload) on
GetStorageLayout through x-goog-storage-go-features. That reuse of the Go SDK
feature header is a temporary bridge that has to be removed by January 2027.
GCS is adding a dedicated x-goog-storage-gcsfuse-features header for this
payload.

Send the payload in the dedicated header instead. GetStorageLayout no longer
sets x-goog-storage-go-features, so the bridge is gone. The payload and the
calls that carry it are unchanged.
@PranjalC100
PranjalC100 force-pushed the feat-telemetry-gcsfuse-features-header branch from 253afef to 3bc24f2 Compare November 20, 2026 06:38
@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.12%. Comparing base (dd019ff) to head (3bc24f2).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5274      +/-   ##
==========================================
- Coverage   85.13%   85.12%   -0.02%     
==========================================
  Files         181      181              
  Lines       19875    19875              
==========================================
- Hits        16921    16919       -2     
- Misses       2953     2955       +2     
  Partials        1        1              
Flag Coverage Δ
unittests 85.12% <ø> (-0.02%) ⬇️

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

☔ 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.
@PranjalC100
PranjalC100 marked this pull request as ready for review November 20, 2026 07:54
@PranjalC100
PranjalC100 requested a review from a team as a code owner November 20, 2026 07:54
@PranjalC100
PranjalC100 requested a review from geertj November 20, 2026 07:54
@github-actions github-actions Bot added the remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR. label Nov 20, 2026
@PranjalC100
PranjalC100 requested review from kislaykishore and removed request for geertj November 20, 2026 07:54
@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

6 similar comments
@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GCSFuse Mount Telemetry - Log Enrichment remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR.

1 participant