Skip to content

Comments

fix(kt-devnet): rewrite endpoints parsing logic#15832

Merged
sigma merged 3 commits intosigma/multi-supervisor-2from
sigma/multi-supervisor-3
May 12, 2025
Merged

fix(kt-devnet): rewrite endpoints parsing logic#15832
sigma merged 3 commits intosigma/multi-supervisor-2from
sigma/multi-supervisor-3

Conversation

@sigma
Copy link
Contributor

@sigma sigma commented May 12, 2025

Description

This nukes the old brittle parsing logic for kurtosis devnet
endpoints, and supports the new formats in optimism-package.

Tests

Additional context

Metadata

@codecov
Copy link

codecov bot commented May 12, 2025

Codecov Report

Attention: Patch coverage is 97.53086% with 4 lines in your changes missing coverage. Please review.

Project coverage is 43.73%. Comparing base (7eb3064) to head (266c85d).

Files with missing lines Patch % Lines
kurtosis-devnet/pkg/kurtosis/endpoints.go 97.40% 3 Missing and 1 partial ⚠️
Additional details and impacted files
@@                      Coverage Diff                      @@
##           sigma/multi-supervisor-2   #15832       +/-   ##
=============================================================
- Coverage                     88.98%   43.73%   -45.25%     
=============================================================
  Files                            17     1176     +1159     
  Lines                          1552    99389    +97837     
=============================================================
+ Hits                           1381    43469    +42088     
- Misses                          153    52453    +52300     
- Partials                         18     3467     +3449     
Files with missing lines Coverage Δ
kurtosis-devnet/pkg/kurtosis/kurtosis.go 81.35% <100.00%> (ø)
kurtosis-devnet/pkg/kurtosis/sources/spec/spec.go 61.90% <100.00%> (ø)
kurtosis-devnet/pkg/kurtosis/endpoints.go 97.75% <97.40%> (ø)

... and 1158 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sigma sigma changed the base branch from develop to sigma/multi-supervisor-2 May 12, 2025 09:50
@sigma sigma force-pushed the sigma/multi-supervisor-2 branch from 6e8ffa4 to 7eb3064 Compare May 12, 2025 09:52
The previous approach was becoming unsustainable, and increasingly
brittle.

As we are changing the shape of naming conventions in
optimism-package, use a pluggable approach instead, where each service
type can have its own parsing logic associated to it.
@sigma sigma force-pushed the sigma/multi-supervisor-3 branch from c5b55ce to 266c85d Compare May 12, 2025 09:54
@sigma sigma requested a review from janjakubnanista May 12, 2025 15:59
@sigma sigma marked this pull request as ready for review May 12, 2025 16:00
@sigma sigma requested a review from a team as a code owner May 12, 2025 16:00

type triagedService struct {
tag string // service tag
idx int // service index (for nodes)
Copy link
Contributor

Choose a reason for hiding this comment

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

In near future I am thinking of redoing the L2 participants to look like challengers or superchains or supervisors:

participants:
  node0:
    el:
      image: ...
    cl:
      image: ...

WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good to me. Hopefully we can introduce label-based metadata by then, so that it becomes transparent from here.

Copy link
Contributor

@janjakubnanista janjakubnanista left a comment

Choose a reason for hiding this comment

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

Love it

@sigma sigma merged commit fef520c into sigma/multi-supervisor-2 May 12, 2025
7 of 31 checks passed
@sigma sigma deleted the sigma/multi-supervisor-3 branch May 12, 2025 17:22
@sigma sigma self-assigned this May 13, 2025
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