Remove nil content from Duo Chat message history
What does this MR do and why?
An error was occurring on Duo Chat where for some reason, the content in a message's history was saved as nil
.
We are not sure why this happens. It could just be a blip. It does not seem particularly common as not many users are affected.
In any case, once nil
content is saved to the user history, Duo Chat will never work for their user again until they type /clear
Slack conversation [internal]
MR acceptance checklist
Screenshots or screen recordings
N/A
How to set up and validate locally
It is tough to cause this scenario manually, so I just recommend a quick regression test of Duo Chat.
Merge request reports
Activity
assigned to @lesley-r
added pipelinetier-1 label
- A deleted user
added backend label
1 Message CHANGELOG missing: If this merge request needs a changelog entry, add the
Changelog
trailer to the commit message you want to add to the changelog.If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.
Reviewer roulette
Category Reviewer Maintainer backend @atiwari71
(UTC+5.5)
@marc_shaw
(UTC+2)
Please refer to documentation page for guidance on how you can benefit from the Reviewer Roulette, or use the GitLab Review Workload Dashboard to find other available reviewers.
If needed, you can retry the
danger-review
job that generated this comment.Generated by
Dangerremoved backend label
- Resolved by 🤖 GitLab Bot 🤖
Proper labels assigned to this merge request. Please ignore me.
@lesley-r
- please see the following guidance and update this merge request.1 Error Please add typebug typefeature, or typemaintenance label to this merge request. Edited by 🤖 GitLab Bot 🤖
@brytannia I think you were planning something similar to
deduplicate_roles
on the v2 endpointIf you don't mind, maybe you can add this piece in as well.
added typebug label
requested review from @nateweinshenker
- Resolved by Tetiana Chupryna
Looked around for our tools and I didn't see anywhere where we default to passing
nil
content through theassistant
conversational role. Slightly confusing how we got that message, but looks good for helping to prevent that duplicate process.- Resolved by Lesley Razzaghian
LGTM. Can you assign someone in a closer timezone to give another check? My GDK seems to be stuck when trying to test that Gitlab Duo Chat is working.
Edited by Nathan Weinshenker
added pipeline:mr-approved label
added pipelinetier-2 label and removed pipelinetier-1 label
Before you set this MR to auto-merge
This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.
Before you set this MR to auto-merge, please check the following:
- You are the last maintainer of this merge request
- The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
- This pipeline is recent enough (created in the last 8 hours)
If all the criteria above apply, please set auto-merge for this merge request.
See pipeline tiers and merging a merge request for more details.
- A deleted user
added backend label
E2E Test Result Summary
allure-report-publisher
generated test report!e2e-test-on-gdk:
test report for ca65dd95expand test summary
+------------------------------------------------------------------+ | suites summary | +-------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +-------------+--------+--------+---------+-------+-------+--------+ | Plan | 73 | 0 | 0 | 0 | 73 | ✅ | | Create | 128 | 0 | 15 | 0 | 143 | ✅ | | Govern | 71 | 0 | 0 | 0 | 71 | ✅ | | Package | 20 | 0 | 12 | 0 | 32 | ✅ | | Verify | 44 | 0 | 2 | 0 | 46 | ✅ | | Data Stores | 31 | 0 | 1 | 0 | 32 | ✅ | | Monitor | 8 | 0 | 0 | 0 | 8 | ✅ | | Fulfillment | 2 | 0 | 0 | 0 | 2 | ✅ | | Release | 5 | 0 | 0 | 0 | 5 | ✅ | | Analytics | 2 | 0 | 0 | 0 | 2 | ✅ | | Secure | 3 | 0 | 0 | 0 | 3 | ✅ | | Manage | 1 | 0 | 1 | 0 | 2 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+ | Total | 388 | 0 | 31 | 0 | 419 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+
mentioned in issue #478619 (closed)
requested review from @jessieay and removed review request for @nateweinshenker
changed milestone to %17.4
added groupduo chat label
added Category:Duo Chat devopsai-powered sectiondata-science labels
added pipelinetier-3 pipeline:run-e2e-omnibus-once labels and removed pipelinetier-2 label
added bugfunctional label
started a merge train
added workflowstaging-canary label
added workflowcanary label and removed workflowstaging-canary label
added workflowstaging label and removed workflowcanary label
added workflowproduction label and removed workflowstaging label
added releasedcandidate label
mentioned in merge request kubitus-project/kubitus-installer!3354 (merged)
added releasedpublished label and removed releasedcandidate label