Skip to content
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

Warnings about options.cloud #3407

Merged
merged 3 commits into from Feb 27, 2024
Merged

Conversation

olegbespalov
Copy link
Collaborator

@olegbespalov olegbespalov commented Oct 19, 2023

What?

These changes aim to start promoting the options.cloud. It's the state when it's safe to say to customers that it's safe to use.

These changes were originally part of #3348, but there is a chance that we could merge #3348, but we won't be ready to start offering usage of the options.cloud.

Why?

Reduce the scope and try to make #3348 mergable.

Checklist

  • Check the status Add k6 new subcommand #3394 that could bring additional usage of the options.ext.loadimapct and adjust this PR if need
  • Ensure that we can promote the options.cloud (backend ready)
  • I have performed a self-review of my code.
  • I have added tests for my changes.
  • I have run linter locally (make lint) and all checks pass.
  • I have run tests locally (make tests) and all tests pass.
  • I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

@olegbespalov olegbespalov mentioned this pull request Oct 19, 2023
5 tasks
@olegbespalov olegbespalov self-assigned this Oct 19, 2023
@olegbespalov olegbespalov added this to the v0.48.0 milestone Oct 19, 2023
Copy link
Collaborator

@codebien codebien left a comment

Choose a reason for hiding this comment

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

Blocking as we will have to change the part related to #3394 when it is merged.

But, at this point, I would like to make another attempt in considering to directly introduce the block for the cloud here.

Now that we have this PR, @olegbespalov @andrewslotin do you still want to introduce the block there? I think this PR has a limited scope that fits the case.

@olegbespalov
Copy link
Collaborator Author

olegbespalov commented Oct 20, 2023

If the question is Do you still want to use options.ext.loadimpact in #3394? then I do believe that using a legacy block is still the right thing since it guarantees atomically of the changes.

All parties are also aware of this problem of syncing between these two PRs, and we will do the right things depending on the pace.

I'm not sure this PR should be considered blocked, but I'm not against keeping it like that to stress the importance of some actions that could happen once the #3394 is merged. Also, I'm putting a note to the PR's checklist to emphasize the importance of checking.

@codebien
Copy link
Collaborator

These changes were originally part of #3348, but there is a chance that we could merge #3348, but we won't be ready to start offering usage of the options.cloud.

I took the assumption that this PR was already blocked from the quoted condition to be verified. Isn't that? Do you intend to merge it without being sure that we are going to offer the usage of the option? Then eventually revert only this PR?

@olegbespalov
Copy link
Collaborator Author

olegbespalov commented Oct 20, 2023

I took the assumption that this PR was already blocked from the quoted condition to be verified. Isn't that? Do you intend to merge it without being sure that we are going to offer the usage of the option? Then eventually revert only this PR?

It's blocked because of that. That's true. Let me be explicit in the PR body.

But you wrote above:

Blocking as we will have to change the part related to #3394 when it is merged.

That sentence I was answering when I said that I don't agree that it's blocked.

@olegbespalov olegbespalov marked this pull request as draft October 20, 2023 10:22
@olegbespalov
Copy link
Collaborator Author

Also, I converted it to a daft since it waits for some internal decisions.

@codecov-commenter
Copy link

codecov-commenter commented Jan 17, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (b5a6feb) 73.55% compared to head (03fdf37) 73.48%.

❗ Current head 03fdf37 differs from pull request most recent head f35edf2. Consider uploading reports for the commit f35edf2 to get more accurate results

Files Patch % Lines
cmd/login_cloud.go 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3407      +/-   ##
==========================================
- Coverage   73.55%   73.48%   -0.07%     
==========================================
  Files         277      275       -2     
  Lines       20228    20229       +1     
==========================================
- Hits        14879    14866      -13     
- Misses       4401     4409       +8     
- Partials      948      954       +6     
Flag Coverage Δ
macos ?
ubuntu 73.48% <70.00%> (+0.01%) ⬆️
windows ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@olegbespalov olegbespalov marked this pull request as ready for review February 5, 2024 09:55
@olegbespalov olegbespalov requested a review from a team as a code owner February 5, 2024 09:55
codebien
codebien previously approved these changes Feb 5, 2024
mstoykov
mstoykov previously approved these changes Feb 8, 2024
Copy link
Collaborator

@mstoykov mstoykov left a comment

Choose a reason for hiding this comment

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

I do wonder if we should do this in the same version we introduce it.

Maybe have a version with it and let us see if there aren't any bugs will be better.

This will also let us go update it ... everywhere - which will be a major problem IMO with all of our documentation and examples

@codebien
Copy link
Collaborator

codebien commented Feb 8, 2024

Maybe have a version with it and let us see if there aren't any bugs will be better.

Any bug on this specific feature will require us to hotfix. Plus, on the other side, I also see the risk that if we don't promote it then we may not get exposure and the users will not hit any eventual bugs.
So, considering that it isn't a blocker, and in any case, we have to fix it fast, I'm for just merging it.

oleiade
oleiade previously approved these changes Feb 12, 2024
Copy link
Member

@oleiade oleiade left a comment

Choose a reason for hiding this comment

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

I align with @codebien ☝🏻 and think we should probably just merge it to get it some visibility indeed 🙇🏻

Base automatically changed from feat/refactor-cloud-options to master February 13, 2024 13:30
@olegbespalov olegbespalov dismissed stale reviews from oleiade, mstoykov, and codebien February 13, 2024 13:30

The base branch was changed.

@olegbespalov olegbespalov merged commit ffecd83 into master Feb 27, 2024
23 of 24 checks passed
@olegbespalov olegbespalov deleted the feat/promoting-cloud-options branch February 27, 2024 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants