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

Resolve threads on discussions #893

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zampierilucas
Copy link
Collaborator

Add --resolve to lab discussion cli.
Also check if thread is already resolved before resolving.

Depends on: #890

bmeneg and others added 7 commits February 26, 2024 23:05
Update go version to fix issues during tests where some tests requires a
specific go version, above 1.17 we had setup for lab.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Make sure our CI follows the same go version stated in go.mod.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Fix styling issue reported by gofmt.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Unfortunately our testing infra relies on a real environment that get
updated from time to time. This commit updates the MR number to match
the test code with the actual MR live in the testing repo.

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
With commit 4d1dbfa ("cmd/mr_discussion.go: Switch from NotePosition to
PositionOptions") the PositionOptions object was being created
regardless the presence of --position in user's command, causing the
REST API to fail due to the presence of a "position" parameter in the
request without all required arguments. This commit creates the
PositionOptions object within the --position handler, ensuring it's not
passed "empty".

Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
Add ability to resolve threads on the lab discussion cli.

Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
Verify if the thread is already resolved

Signed-off-by: Lucas Zampieri <lzampier@redhat.com>
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.

None yet

2 participants