Skip to content

SK-3002 replace stale v3 naming in the flowvault artifact metadata - #405

Merged
Devesh-Skyflow merged 1 commit into
mainfrom
fix-flowvault-pom-description
Aug 3, 2026
Merged

SK-3002 replace stale v3 naming in the flowvault artifact metadata#405
Devesh-Skyflow merged 1 commit into
mainfrom
fix-flowvault-pom-description

Conversation

@Devesh-Skyflow

@Devesh-SkyflowDevesh-Skyflow commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Problem

v3 was the module's directory name before the package split. Two consumer-visible strings still carried it.

1. The Maven Central description.com.skyflow:skyflow-flowvault-java is described as "Skyflow V3 SDK for the Java programming language":

$ curl -s https://repo1.maven.org/maven2/com/skyflow/skyflow-flowvault-java/1.0.0/skyflow-flowvault-java-1.0.0.pom | grep description
<description>Skyflow V3 SDK for the Java programming language</description>

It means nothing to anyone browsing Central, and matches neither the module README heading (Skyflow FlowVault Java SDK) nor the parent POM's Skyflow SDK for the Java programming language.

2. The telemetry fallback.DEFAULT_SDK_VERSION is used when sdk.properties cannot be read, and feeds the sdk_name_version metric as "skyflow-flowvault-java@" + version. It was "v3", so the fallback path reported a version the artifact never had — flowvault is versioned 1.0.0, not 3.x.

Changes

 flowvault/pom.xml
-<description>Skyflow V3 SDK for the Java programming language</description>+<description>Skyflow FlowVault SDK for the Java programming language</description>
flowvault/src/main/java/com/skyflow/utils/Constants.java
-public static final String DEFAULT_SDK_VERSION = "v3";+public static final String DEFAULT_SDK_VERSION = "1.0.0";

1.0.0 makes the fallback report the same value the normal path already resolves from sdk.properties, so the two paths are indistinguishable in metrics.

Verification

Editing pom.xml alone is sufficient for the deployed metadata. The POM Maven actually deploys is the shade plugin's dependency-reduced-pom.xml (which is why com.skyflow:common is absent from the published POM — it is shaded into the jar). It regenerates at package time, and the regenerated file is byte-identical to the POM on Central apart from this one line:

$ diff skyflow-flowvault-java-1.0.0.pom flowvault/dependency-reduced-pom.xml
12c12
< <description>Skyflow V3 SDK for the Java programming language</description>
---
> <description>Skyflow FlowVault SDK for the Java programming language</description>

Effective POM:

$ mvn -pl flowvault help:evaluate -Dexpression=project.description -DforceStdout
Skyflow FlowVault SDK for the Java programming language

flowvault suite:

$ mvn -pl flowvault test
Tests run: 674, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS

No test asserted on the old "v3" value. (RequestIdTests contains "v2"/"v3" string literals, but those are per-record payload valuesv0v3 across four records — not module names.)

Notes

  • 1.0.0 is already on Central and deployed POMs are immutable, so the existing listing keeps the old description permanently. The fix is visible from the next release onward.
  • flowvault-release/26.8.1 carries both stale strings too; since merges flow mainflowvault-release, this should reach it on the next sync rather than needing a separate PR.
  • Out of scope, noted while checking: flowvault/dependency-reduced-pom.xml is a generated build artifact but is tracked in git, so any local build dirties the tree. skyvault/dependency-reduced-pom.xml is untracked, so the two modules are inconsistent — worth gitignoring separately.

🤖 Generated with Claude Code

@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@Devesh-Skyflow
Devesh-Skyflowforce-pushed the fix-flowvault-pom-description branch from c5426cf to e4b50f7CompareAugust 3, 2026 17:04
@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@codecov

codecovBot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@ Coverage Diff @@## main #405 +/- ##
==========================================
Coverage 91.30% 91.30% - Complexity 0 454 +454 
==========================================
Files 157 157 Lines 6392 6392 Branches 850 850 ==========================================
Hits 5836 5836 Misses 364 364 Partials 192 192 
FlagCoverage Δ
common88.38% <ø> (ø)
flowvault88.65% <ø> (ø)
skyvault94.72% <ø> (ø)
unittests-flowvault89.67% <ø> (?)

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

ComponentsCoverage Δ
Module: common88.38% <ø> (ø)
Module: skyvault94.72% <ø> (ø)
Module: flowvault88.65% <ø> (ø)
Service Account86.69% <ø> (ø)
Vault Data91.42% <ø> (ø)
Vault Tokens99.03% <ø> (ø)
Vault Connection100.00% <ø> (ø)
Vault Controller85.31% <ø> (ø)
Detect100.00% <ø> (ø)
Audit100.00% <ø> (ø)
BIN Lookup100.00% <ø> (ø)
Config96.26% <ø> (ø)
Utils89.21% <ø> (ø)
Errors100.00% <ø> (ø)
Enums100.00% <ø> (ø)
Logs95.32% <ø> (ø)
Files with missing linesCoverage Δ
...ult/src/main/java/com/skyflow/utils/Constants.java83.33% <ø> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3ed530...db0833e. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Devesh-SkyflowDevesh-Skyflow changed the title Fix flowvault artifact description on Maven CentralSK-3002 fix flowvault artifact description on Maven CentralAug 3, 2026
@Devesh-Skyflow
Devesh-Skyflowforce-pushed the fix-flowvault-pom-description branch from e4b50f7 to f6a9176CompareAugust 3, 2026 17:18
@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@Devesh-SkyflowDevesh-Skyflow changed the title SK-3002 fix flowvault artifact description on Maven CentralSK-3002 replace stale v3 naming in the flowvault artifact metadataAug 3, 2026
@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

"v3" was the module's directory name before the package split. Two
consumer-visible strings still carried it.
Maven Central description. The published POM for
com.skyflow:skyflow-flowvault-java reads "Skyflow V3 SDK for the Java
programming language", which means nothing to anyone browsing Central and
matches neither the module README heading nor the parent POM's phrasing.
Replaced with "Skyflow FlowVault SDK for the Java programming language" in
pom.xml and in the checked-in dependency-reduced-pom.xml, which is the POM
Maven actually deploys. The shade plugin regenerates that file at package
time, so the build would pick the new text up either way, but the tracked
copy was left stale and would otherwise show up as a spurious diff after
any local build.
Telemetry fallback. DEFAULT_SDK_VERSION is used when sdk.properties cannot
be read, and feeds the sdk_name_version metric as
"skyflow-flowvault-java@" + version. It was "v3", so the fallback path
reported a version the artifact never had - flowvault is versioned 1.0.0,
not 3.x. Set to "1.0.0" so the fallback matches what the normal path
reports from sdk.properties.
1.0.0 is already published and its POM is immutable, so the corrected
description only becomes visible on the next release.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Devesh-Skyflow
Devesh-Skyflowforce-pushed the fix-flowvault-pom-description branch from f6a9176 to db0833eCompareAugust 3, 2026 17:20
@github-actions

Copy link
Copy Markdown

Gitleaks Findings: No secrets detected. Safe to proceed!

@github-actions

Copy link
Copy Markdown

Semgrep Findings: Issues with Error level severity are found (Error is Highest severity in Semgrep), Please resolve the issues before merging.

@Devesh-Skyflow
Devesh-Skyflow merged commit db0eb23 into mainAug 3, 2026
11 checks passed
Sign up for freeto 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

@Devesh-Skyflow