Skip to content

[pull] develop from smartcontractkit:develop#545

Merged
pull[bot] merged 3 commits intoMarcelRaschke:developfrom
smartcontractkit:develop
Apr 14, 2026
Merged

[pull] develop from smartcontractkit:develop#545
pull[bot] merged 3 commits intoMarcelRaschke:developfrom
smartcontractkit:develop

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 14, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Fletch153 and others added 3 commits April 13, 2026 22:25
* fix(test): use unique bridge names and relaxed count assertions

TestORM_UpdateBridgeType used a hardcoded "UniqueName" and asserted
the global bridge count was exactly 1. With shared DB state from
parallel tests or -count=N, the global count includes other bridges.

Use UUID-based names and assert >= 1 instead of exact count. Verify
deletion by checking the specific bridge is not found.

Fixes: CORE-2391

* fix(test): drop global count assertion, verify specific bridge only

The GreaterOrEqual count check was still fragile. The test only needs
to verify its own bridge exists and can be deleted — not count how
many bridges exist globally.

Fixes: CORE-2391

* fix(test): restore exact count assertions with UUID bridge names

The txdb wrapper should provide per-test transaction isolation, so
exact count assertions are valid. Restore them — if CI fails, the
real bug is broken DB isolation, not the test.

The only change from the original test is UUID-based bridge names
to avoid hardcoded "UniqueName" collisions.

Fixes: CORE-2391
…_URL (#21956)

pgtest.NewSqlxDB used t.Errorf (non-fatal) when CL_DATABASE_URL was
missing, then returned nil. This caused SIGSEGV panics in downstream
tests when they called methods on the nil *sqlx.DB.

Changing to t.Fatalf stops test execution immediately, preventing the
nil DB from propagating.

Fixes: CORE-2371
@pull pull bot locked and limited conversation to collaborators Apr 14, 2026
@pull pull bot added the ⤵️ pull label Apr 14, 2026
@pull pull bot merged commit 7d26a0e into MarcelRaschke:develop Apr 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants