Add a banner informing about token expiration
What does this MR do and why?
We are backporting !154944 (merged) into this stable version.
Display a banner to all users, similar to broadcast banners, for GitLab version between 16.0 and 17.0, both included. The banner informs about upcoming expiration of tokens and how to troubleshoot the expiration.
The banner is dismissable. The data is persisted in the browser cookie and expires in one year from the date it has been dismissed. Like other broadcast banners, if the user opens an incognito window the banner reappears.
Changelog: changed
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
This MR is backporting a bug fix, documentation update, or spec fix, previously merged in the default branch. -
The MR that fixed the bug on the default branch has been deployed to GitLab.com (not applicable for documentation or spec changes). -
This MR has a severity label assigned (if applicable). -
Set the milestone of the merge request to match the target backport branch version. -
This MR has been approved by a maintainer (only one approval is required). -
Ensure the e2e:package-and-test-ee
job has either succeeded or been approved by a Software Engineer in Test.
Note to the merge request author and maintainer
If you have questions about the patch release process, please:
- Refer to the patch release runbook for engineers and maintainers for guidance.
- Ask questions on the
#releases
Slack channel (internal only).
Merge request reports
Activity
changed milestone to %17.1
assigned to @eduardosanz
- Resolved by 🤖 GitLab Bot 🤖
Proper labels assigned to this merge request. Please ignore me.
@eduardosanz
- 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 🤖
- Resolved by Eduardo Sanz García
2 Warnings Backporting to older releases requires an exception request process The e2e:package-and-test-ee
job needs to succeed or have approval from a Software Engineer in Test.
Read the "QA e2e:package-and-test-ee" section for more details.Reviewer roulette
Category Reviewer Maintainer backend @marcogreg
(UTC+8, 6 hours ahead of author)
@.luke
(UTC+12, 10 hours ahead of author)
frontend @thutterer
(UTC+2, same timezone as author)
@slashmanov
(UTC+4, 2 hours ahead of author)
Please check reviewer's status!
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.
QA
e2e:package-and-test-ee
@eduardosanz, the
package-and-test
job must complete before merging this merge request.*If there are failures on the
package-and-test
pipeline, ping your team's associated Software Engineer in Test (SET) to confirm the failures are unrelated to the merge request. If there's no SET assigned, ask for assistance on the#test-platform
Slack channel.If needed, you can retry the
danger-review
job that generated this comment.Generated by
Dangerchanged milestone to %17.0
added groupauthentication label and removed backend frontend labels
added devopsgovern sectionsec labels
added 1 commit
- 2534fdea - Add a banner informing about token expiration
E2E Test Result Summary
allure-report-publisher
generated test report!e2e-package-and-test:
test report for 06c6e4bcexpand test summary
+------------------------------------------------------------------+ | suites summary | +-------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +-------------+--------+--------+---------+-------+-------+--------+ | Govern | 300 | 0 | 13 | 1 | 313 | ✅ | | Create | 320 | 0 | 34 | 0 | 354 | ✅ | | Plan | 44 | 0 | 4 | 0 | 48 | ✅ | | Data Stores | 22 | 0 | 0 | 0 | 22 | ✅ | | Verify | 10 | 0 | 0 | 0 | 10 | ✅ | | Release | 2 | 0 | 0 | 0 | 2 | ✅ | | Monitor | 8 | 0 | 0 | 0 | 8 | ✅ | | Package | 6 | 0 | 8 | 0 | 14 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+ | Total | 712 | 0 | 59 | 1 | 771 | ✅ | +-------------+--------+--------+---------+-------+-------+--------+
e2e-test-on-gdk:
test report for 326adaffexpand test summary
+------------------------------------------------------------------+ | suites summary | +-------------+--------+--------+---------+-------+-------+--------+ | | passed | failed | skipped | flaky | total | result | +-------------+--------+--------+---------+-------+-------+--------+ | Create | 110 | 1 | 9 | 0 | 120 | ❌ | | Govern | 66 | 0 | 0 | 0 | 66 | ✅ | | Verify | 31 | 0 | 1 | 1 | 32 | ✅ | | Plan | 52 | 0 | 2 | 0 | 54 | ✅ | | Data Stores | 31 | 0 | 0 | 0 | 31 | ✅ | | Package | 19 | 0 | 12 | 0 | 31 | ✅ | | Release | 5 | 0 | 0 | 0 | 5 | ✅ | | Monitor | 8 | 0 | 0 | 0 | 8 | ✅ | | Analytics | 2 | 0 | 0 | 0 | 2 | ✅ | | Manage | 0 | 0 | 1 | 0 | 1 | ➖ | +-------------+--------+--------+---------+-------+-------+--------+ | Total | 324 | 1 | 25 | 1 | 350 | ❌ | +-------------+--------+--------+---------+-------+-------+--------+
- Resolved by Eduardo Sanz García
@eduardosanz Thee2e:package-and-test-ee
job has failed.-
e2e:package-and-test-ee
pipeline: https://gitlab.com/gitlab-org/gitlab/-/pipelines/1317773622
e2e:package-and-test-ee
pipeline is allowed to fail due its flakiness. Failures should be investigated to guarantee this backport complies with the Quality standards.Ping your team's associated Software Engineer in Test (SET) to confirm the failures are unrelated to the merge request. If there's no SET assigned, ask for assistance on the
#test-platform
Slack channel. -
- Resolved by Eduardo Sanz García
e2e:package-and-test-ee passed.