Skip to content

chore: add check for pseudo-version dependencies in rudderlabs modules - #6737

Merged
mihir20 merged 1 commit into
masterfrom
mihir/pseudo-version-check
Mar 4, 2026
Merged

mihir20 merged 1 commit into
masterfrom
mihir/pseudo-version-check

Conversation

@mihir20

@mihir20 mihir20 commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

What:

  • Adds a new step in the verify.yml GitHub Actions workflow that detects and blocks pseudo-version dependencies (e.g. v0.0.0-20260211072500-0c7ccaf1aa80) for any github.com/rudderlabs/* module.

Why:
Pseudo-versions pin to a specific commit rather than a tagged release, which makes dependency tracking harder, can introduce untested or intermediate code, and bypasses the release process. This check
ensures all rudderlabs dependencies use proper tagged releases.

How:
The new CI step uses go list -m -json all piped through jq to find any rudderlabs module whose version matches the pseudo-version pattern (<14-digit timestamp>-<12-char commit hash>). If any are found,
the workflow fails with a clear error message listing the offending dependencies.

Linear Ticket

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@mihir20
mihir20 force-pushed the mihir/pseudo-version-check branch 2 times, most recently from 9890b8d to e13d825 Compare March 4, 2026 07:04
🔒 Scanned for secrets using gitleaks 8.28.0
@mihir20
mihir20 force-pushed the mihir/pseudo-version-check branch from e13d825 to 7ea9328 Compare March 4, 2026 07:09
@mihir20
mihir20 marked this pull request as ready for review March 4, 2026 07:12
@codecov

codecov Bot commented Mar 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.05%. Comparing base (ec57028) to head (7ea9328).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6737      +/-   ##
==========================================
- Coverage   80.08%   80.05%   -0.04%     
==========================================
  Files         565      565              
  Lines       63376    63376              
==========================================
- Hits        50756    50734      -22     
- Misses       9617     9645      +28     
+ Partials     3003     2997       -6     

☔ 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.

@atzoum

atzoum commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

cool, can we test it by trying to bump a dependency to its main commit?

@mihir20

mihir20 commented Mar 4, 2026

Copy link
Copy Markdown
Contributor Author

cool, can we test it by trying to bump a dependency to its main commit?

already tested in this commit
9890b8d#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6

@mihir20
mihir20 merged commit 55ecd10 into master Mar 4, 2026
103 of 105 checks passed
@mihir20
mihir20 deleted the mihir/pseudo-version-check branch March 4, 2026 16:30
itsmihir pushed a commit that referenced this pull request Mar 16, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.70.0-rc.1](v1.69.0...v1.70.0-rc.1)
(2026-03-16)


### Features

* add a scheduled release cut workflow to cut release branches
([#6739](#6739))
([ab887ac](ab887ac))
* infer OAuth type from account definition when destination supports
accounts
([#6718](#6718))
([00d1755](00d1755))


### Bug Fixes

* false sanity check failure due to empty response
([#6762](#6762))
([0384603](0384603))
* gateway request blocked in store jobs blocking all other requests
([#6760](#6760))
([ca4d514](ca4d514))
* respect context cancellation in gateway rate limiter
([#6751](#6751))
([589251a](589251a))
* update prerelease branch versioning format in scheduled release
workflow
([#6745](#6745))
([fede9e4](fede9e4))


### Miscellaneous

* add check for pseudo-version dependencies in rudderlabs modules
([#6737](#6737))
([55ecd10](55ecd10))
* bump rudder-go-kit to 0.73.0
([#6753](#6753))
([1743f6b](1743f6b))
* remove gunicorn and add darwin compatibility
([#6742](#6742))
([392d1f4](392d1f4))
* use latest retryablehttp client
([#6754](#6754))
([629f036](629f036))
* user rudo docker image for partition migration integration tests
([#6757](#6757))
([5022fbd](5022fbd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
itsmihir pushed a commit that referenced this pull request Mar 17, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.70.0](v1.69.0...v1.70.0)
(2026-03-16)


### Features

* add a scheduled release cut workflow to cut release branches
([#6739](#6739))
([ab887ac](ab887ac))
* infer OAuth type from account definition when destination supports
accounts
([#6718](#6718))
([00d1755](00d1755))


### Bug Fixes

* false sanity check failure due to empty response
([#6762](#6762))
([0384603](0384603))
* gateway request blocked in store jobs blocking all other requests
([#6760](#6760))
([ca4d514](ca4d514))
* respect context cancellation in gateway rate limiter
([#6751](#6751))
([589251a](589251a))
* update prerelease branch versioning format in scheduled release
workflow
([#6745](#6745))
([fede9e4](fede9e4))


### Miscellaneous

* add check for pseudo-version dependencies in rudderlabs modules
([#6737](#6737))
([55ecd10](55ecd10))
* bump rudder-go-kit to 0.73.0
([#6753](#6753))
([1743f6b](1743f6b))
* remove gunicorn and add darwin compatibility
([#6742](#6742))
([392d1f4](392d1f4))
* use latest retryablehttp client
([#6754](#6754))
([629f036](629f036))
* user rudo docker image for partition migration integration tests
([#6757](#6757))
([5022fbd](5022fbd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
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.

3 participants