feat(lambdai): implement provider simulator#200
Merged
Conversation
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Contributor
Greptile SummaryThis PR adds a simulation provider for Lambda (lambdai-sim) that enables testing Lambda topology generation without requiring actual Lambda API access.
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Test as Test/Client
participant LoaderSim as LoaderSim
participant simProvider as simProvider
participant simClient as simClient
participant Model as models.Model
Test->>LoaderSim: LoaderSim(ctx, cfg)
LoaderSim->>Model: NewModelFromFile(modelPath)
Model-->>LoaderSim: model
LoaderSim->>simProvider: NewSim(clientFactory)
simProvider-->>Test: provider
Test->>simProvider: GenerateTopologyConfig(ctx, pageSize, instances)
simProvider->>simClient: clientFactory(pageSize)
simClient-->>simProvider: client
loop For each ComputeInstances
simProvider->>simClient: InstanceList(ctx, req)
simClient->>Model: Access Nodes
Model-->>simClient: Node data
simClient-->>simProvider: InstanceListResponse
end
simProvider-->>Test: topology.Vertex
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #200 +/- ##
==========================================
+ Coverage 64.34% 65.55% +1.20%
==========================================
Files 80 81 +1
Lines 4384 4448 +64
==========================================
+ Hits 2821 2916 +95
+ Misses 1454 1419 -35
- Partials 109 113 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Ravi Shankar <ravish@nvidia.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: ravisoundar <49925398+ravisoundar@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Signed-off-by: ravisoundar <49925398+ravisoundar@users.noreply.github.com>
Contributor
Greptile found no issues!From now on, if a review finishes and we haven't found any issues, we will not post anything, but you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
dmitsh
approved these changes
Jan 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.