-
Notifications
You must be signed in to change notification settings - Fork 24
Lio/stacks #1860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lio/stacks #1860
Conversation
📝 WalkthroughWalkthroughThis PR refactors stack management across the codebase by shifting from global stack references to per-session stack handling, renames Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 1 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.5.0)level=warning msg="[linters_context] running gomodguard failed: unable to read module file go.mod: current working directory must have a go.mod file: if you are not using go modules it is suggested to disable this linter" Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/pkg/session/session.go (1)
81-101: Add explicit ProviderID default for empty fallback case.In the
ErrDefaultStackNotSetfallback path (lines 95-101), ifProviderIDremains empty (not set to "auto"), it bypasses the coercion logic and returnsProvider: "". This causesNewProvider()to silently fall back toPlaygroundProvider(the default case in the switch statement atsrc/pkg/cli/connect.go:46).Either add an explicit default here (e.g., coerce empty to
ProviderDefangalongside theProviderAutocase) or require callers to initializeProviderIDbefore creatingSessionLoaderOptions.
Description
GetRegionVarNamepanics)Linked Issues
Checklist
Summary by CodeRabbit
Bug Fixes
New Features
Improvements
✏️ Tip: You can customize this high-level summary in your review settings.