Skip to content
Snippets Groups Projects

Update error handling of subscription

Merged Alexander Turinske requested to merge 495518-update-errors-with-new-value into master
All threads resolved!

What does this MR do and why?

Update error handling of subscription

  • previously the error part of graphql never was triggered and was instead handled by errorMessages
  • now error is triggered for some issues
  • errorMessages has been deprecated for a more standard errors
  • update tests

Changelog: changed

EE: true

References

Please include cross links to any resources that are relevant to this MR This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Error type Screenshot
Error as data component_errors
Top level error image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Upload a GitLab Ultimate license
  2. Navigate to a new project/group => Secure => Policies => New policy => Pipeline execution project => Create a policy
  3. Verify the user is navigated to the newly created security policy project with an MR
  4. Navigate to the new project/group => Secure => Policies => New policy => Pipeline execution project => Create a policy
  5. Verify the user is navigated to the security policy project with an MR
  6. Navigate to the new project/group => Secure => Policies => Edit policy project => Remove the linked project
  7. Navigate to the new project/group => Secure => Policies => New policy => Pipeline execution project => Create a policy
  8. Verify the error appears and a user can still take actions on the page
  9. Repeat the steps for every policy type
  10. Verify the steps above work for every policy type

Related to #495518 (closed)

Edited by Alexander Turinske

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • requested review from @snachnolkar

  • Alexander Turinske changed milestone to %17.7

    changed milestone to %17.7

  • Alexander Turinske marked this merge request as ready

    marked this merge request as ready

  • Sharmad Nachnolkar approved this merge request

    approved this merge request

  • Sharmad Nachnolkar requested review from @mfluharty and removed review request for @snachnolkar

    requested review from @mfluharty and removed review request for @snachnolkar

  • Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 11a02dd5 and 09030197

    :sparkles: Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 4.46 MB 4.46 MB - -0.0 %
    mainChunk 3.36 MB 3.36 MB - 0.0 %

    Note: We do not have exact data for 11a02dd5. So we have used data from: 3abf3154.
    The intended commit has no webpack pipeline, so we chose the last commit with one before it.

    Please look at the full report for more details


    Read more about how this report works.

    Generated by :no_entry_sign: Danger

  • Miranda Fluharty approved this merge request

    approved this merge request

  • 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.

  • Miranda Fluharty
  • mentioned in issue #505363 (closed)

  • Alexander Turinske enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :white_check_mark: test report for 09030197

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 129    | 0      | 22      | 0     | 151   | ✅     |
    | Govern      | 75     | 0      | 3       | 0     | 78    | ✅     |
    | Package     | 24     | 0      | 11      | 0     | 35    | ✅     |
    | Verify      | 43     | 0      | 2       | 0     | 45    | ✅     |
    | Plan        | 76     | 0      | 0       | 0     | 76    | ✅     |
    | Manage      | 1      | 0      | 1       | 0     | 2     | ✅     |
    | Monitor     | 8      | 0      | 0       | 0     | 8     | ✅     |
    | Release     | 5      | 0      | 0       | 0     | 5     | ✅     |
    | Data Stores | 33     | 0      | 1       | 0     | 34    | ✅     |
    | Secure      | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Fulfillment | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Ai-powered  | 0      | 0      | 1       | 0     | 1     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 402    | 0      | 41      | 0     | 443   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-test-on-cng: :white_check_mark: test report for 09030197

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 140    | 0      | 20      | 0     | 160   | ✅     |
    | Verify      | 49     | 0      | 16      | 0     | 65    | ✅     |
    | Plan        | 86     | 0      | 8       | 0     | 94    | ✅     |
    | Analytics   | 2      | 0      | 0       | 1     | 2     | ✅     |
    | Secure      | 2      | 0      | 5       | 0     | 7     | ✅     |
    | Data Stores | 33     | 0      | 10      | 0     | 43    | ✅     |
    | Manage      | 1      | 0      | 9       | 0     | 10    | ✅     |
    | Govern      | 84     | 0      | 9       | 1     | 93    | ✅     |
    | Release     | 5      | 0      | 1       | 0     | 6     | ✅     |
    | Package     | 24     | 0      | 14      | 0     | 38    | ✅     |
    | Ai-powered  | 0      | 0      | 2       | 0     | 2     | ➖     |
    | Configure   | 0      | 0      | 3       | 0     | 3     | ➖     |
    | Monitor     | 8      | 0      | 12      | 0     | 20    | ✅     |
    | Fulfillment | 2      | 0      | 7       | 1     | 9     | ✅     |
    | Growth      | 0      | 0      | 2       | 0     | 2     | ➖     |
    | ModelOps    | 0      | 0      | 1       | 0     | 1     | ➖     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 436    | 0      | 119     | 3     | 555   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
  • Alexander Turinske aborted automatic add to merge train because the source branch was updated. Learn more.

    aborted automatic add to merge train because the source branch was updated. Learn more.

  • Alexander Turinske added 387 commits

    added 387 commits

    Compare with previous version

  • Alexander Turinske reset approvals from @mfluharty by pushing to the branch

    reset approvals from @mfluharty by pushing to the branch

  • added 1 commit

    • 0014414c - Update integration tests for new api

    Compare with previous version

  • requested review from @mfluharty

  • Miranda Fluharty resolved all threads

    resolved all threads

  • Miranda Fluharty approved this merge request

    approved this merge request

  • Miranda Fluharty enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • Mark Florian mentioned in issue #458409

    mentioned in issue #458409

  • Mark Florian
  • Alexander Turinske aborted automatic add to merge train because the source branch was updated. Learn more.

    aborted automatic add to merge train because the source branch was updated. Learn more.

  • Alexander Turinske added 285 commits

    added 285 commits

    Compare with previous version

  • Alexander Turinske reset approvals from @mfluharty by pushing to the branch

    reset approvals from @mfluharty by pushing to the branch

  • Alexander Turinske resolved all threads

    resolved all threads

  • requested review from @mfluharty

  • requested review from @markrian

  • mentioned in issue #505820 (closed)

  • Miranda Fluharty approved this merge request

    approved this merge request

  • Miranda Fluharty resolved all threads

    resolved all threads

  • Miranda Fluharty enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • mentioned in commit afcfd780

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading