Skip to content

Comments

Fix library imports#1566

Merged
KCarretto merged 3 commits intomainfrom
library-imports
Jan 14, 2026
Merged

Fix library imports#1566
KCarretto merged 3 commits intomainfrom
library-imports

Conversation

@nullmonk
Copy link
Collaborator

Move all v2 imports behind the v2 library

@nullmonk nullmonk requested a review from KCarretto January 13, 2026 18:05
@github-actions
Copy link
Contributor

github-actions bot commented Jan 13, 2026

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
2959    ±0 2959    ±0 0    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#445 2959 2959 0 0 0 0 29.8s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
2959 0 0 8.0s

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
eldritch: random::string_impl::tests::test_string_length 3 6.0s 8.0s
eldritch: random::string_impl::tests::test_string_length 3 6.0s 8.0s
eldritch: random::string_impl::tests::test_string_length 3 6.0s 8.0s
eldritch: random::string_impl::tests::test_string_uniform 3 2.7s 7.9s
eldritch: random::string_impl::tests::test_string_uniform 3 2.7s 7.9s
eldritch: random::string_impl::tests::test_string_uniform 3 2.7s 7.9s
eldritch: regex::match_all_impl::tests::test_no_match 3 2.7s 7.9s
eldritch: regex::match_all_impl::tests::test_no_match 3 2.7s 7.9s
eldritch: regex::match_all_impl::tests::test_no_match 3 2.7s 7.9s
eldritch: regex::match_all_impl::tests::test_multi_match 3 2.6s 7.9s

🎉 No failed tests in this run. | 🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

🔄 This comment has been updated

KCarretto
KCarretto previously approved these changes Jan 14, 2026
Copy link
Collaborator

@KCarretto KCarretto left a comment

Choose a reason for hiding this comment

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

Would appreciate a small change but otherwise lgtm

eldritch-macros = { workspace = true }
eldritchv2 = { workspace = true, features = ["std", "stdlib"] }
eldritch-repl = { workspace = true }
# Need fake here so we import this on its own
Copy link
Collaborator

@KCarretto KCarretto Jan 14, 2026

Choose a reason for hiding this comment

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

we propagate feature flags, so this should be eldritchv2 = { workspace = true, features = ["std", "stdlib", "fake_bindings"] } and then ensure eldritchv2 correctly propagates the feature flag to the stdlib crates (I think it already does). If we don't want all of the fake impls, I would add a feature flag fake_<lib> to eldritchv2 to allow it to be built with only that fake binding.

@KCarretto KCarretto enabled auto-merge January 14, 2026 22:35
@KCarretto KCarretto added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit 3e431e2 Jan 14, 2026
8 checks passed
@KCarretto KCarretto deleted the library-imports branch January 14, 2026 23:02
@KCarretto KCarretto mentioned this pull request Jan 15, 2026
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.

2 participants