Skip to content

chore: block new ginkgo/gomega usage in tests - #7502

Merged
atzoum merged 1 commit into
masterfrom
chore/pipe-3568-ginkgo-guardrail
Oct 20, 2026
Merged

atzoum merged 1 commit into
masterfrom
chore/pipe-3568-ginkgo-guardrail

Conversation

@atzoum

@atzoum atzoum commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Description

A depguard rule denies onsi/ginkgo and onsi/gomega everywhere except the 66 files that still use them, so no new Ginkgo code lands while the existing suites are migrated to testing + testify. Also deletes the jobsdb and customdestinationmanager suite files, which ran no specs.

Linear Ticket

Part of PIPE-3568

Security

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

🤖 Generated with Claude Code

@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-guardrail branch from 29909dd to 71d6426 Compare October 20, 2026 07:22
@atzoum atzoum changed the title chore: block new ginkgo/gomega usage in tests chore: ginkgo extermination begins here Oct 20, 2026
@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-guardrail branch from 71d6426 to f42e10a Compare October 20, 2026 07:23
@atzoum atzoum changed the title chore: ginkgo extermination begins here chore: block new ginkgo/gomega usage in tests Oct 20, 2026

@fracasula fracasula left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

❤️

Add a depguard rule that denies ginkgo and gomega everywhere except the
files that still use them, and delete the jobsdb and
customdestinationmanager suite files, which ran no specs.

Part of PIPE-3568

Co-Authored-By: Claude Opus 5.5 <[email protected]>

🔒 Scanned for secrets using gitleaks 8.30.1
@atzoum
atzoum force-pushed the chore/pipe-3568-ginkgo-guardrail branch from f42e10a to b0c2d35 Compare October 20, 2026 07:49
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.59%. Comparing base (833d694) to head (b0c2d35).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7502      +/-   ##
==========================================
- Coverage   85.03%   84.59%   -0.45%     
==========================================
  Files         632      632              
  Lines       62857    62857              
==========================================
- Hits        53448    53171     -277     
- Misses       9406     9683     +277     
  Partials        3        3              

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

@atzoum
atzoum merged commit e1c9d38 into master Oct 20, 2026
113 of 116 checks passed
@atzoum
atzoum deleted the chore/pipe-3568-ginkgo-guardrail branch October 20, 2026 11:36
tipped73 added a commit that referenced this pull request Oct 20, 2026
master now denies new ginkgo imports (#7502); same cases and assertions.
itsmihir pushed a commit that referenced this pull request Oct 26, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.92.0-rc.1](v1.91.0...v1.92.0-rc.1)
(2026-10-26)


### Features

* **processor:** pyt test-pod deployer sets PYT_MODE=test
([#7506](#7506))
([a050ed6](a050ed6))
* **processor:** reset the per-workspace pyt client on 421
([#7494](#7494))
([83db4d6](83db4d6))
* **router:** re-fetch the cached OAuth token when the control plane
holds a newer secret (PRO-5947)
([#7478](#7478))
([742779d](742779d))
* **router:** tag oauth_action counters with destinationId and count
AUTH_STATUS_INACTIVE (PRO-5946)
([#7477](#7477))
([0e15eb4](0e15eb4))


### Bug Fixes

* flaky TestDrainConfigRoutine failing with "database is closed"
([#7489](#7489))
([9baa89f](9baa89f))


### Miscellaneous

* block new ginkgo/gomega usage in tests
([#7502](#7502))
([e1c9d38](e1c9d38))
* bump dependency versions
([#7522](#7522))
([1067ff4](1067ff4))
* enforce errors.AsType and point CLAUDE.md at AGENTS.md
([#7521](#7521))
([5c7e088](5c7e088))
* go 1.27.3
([#7516](#7516))
([3c240a3](3c240a3))
* migrate debugger, services, async destination and utils tests from
ginkgo to testify
([#7503](#7503))
([1a8c85a](1a8c85a))
* migrate gateway, rsources, reporting, batchrouter and manager tests
from ginkgo to testify
([#7507](#7507))
([ffdd505](ffdd505))
* remove ginkgo and gomega from tests
([#7508](#7508))
([d3e7e0f](d3e7e0f))

---
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 Oct 27, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.92.0](v1.91.0...v1.92.0)
(2026-10-26)


### Features

* **processor:** pyt test-pod deployer sets PYT_MODE=test
([#7506](#7506))
([a050ed6](a050ed6))
* **processor:** reset the per-workspace pyt client on 421
([#7494](#7494))
([83db4d6](83db4d6))
* **router:** re-fetch the cached OAuth token when the control plane
holds a newer secret (PRO-5947)
([#7478](#7478))
([742779d](742779d))
* **router:** tag oauth_action counters with destinationId and count
AUTH_STATUS_INACTIVE (PRO-5946)
([#7477](#7477))
([0e15eb4](0e15eb4))


### Bug Fixes

* flaky TestDrainConfigRoutine failing with "database is closed"
([#7489](#7489))
([9baa89f](9baa89f))


### Miscellaneous

* block new ginkgo/gomega usage in tests
([#7502](#7502))
([e1c9d38](e1c9d38))
* bump dependency versions
([#7522](#7522))
([1067ff4](1067ff4))
* enforce errors.AsType and point CLAUDE.md at AGENTS.md
([#7521](#7521))
([5c7e088](5c7e088))
* go 1.27.3
([#7516](#7516))
([3c240a3](3c240a3))
* migrate debugger, services, async destination and utils tests from
ginkgo to testify
([#7503](#7503))
([1a8c85a](1a8c85a))
* migrate gateway, rsources, reporting, batchrouter and manager tests
from ginkgo to testify
([#7507](#7507))
([ffdd505](ffdd505))
* remove ginkgo and gomega from tests
([#7508](#7508))
([d3e7e0f](d3e7e0f))

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