Skip to content
Snippets Groups Projects

Check if project is not null before processing

Merged Savas Vedova requested to merge 412877-fix-type-error into master
All threads resolved!

What does this MR do and why?

Check if the project is not null before processing.

In cases where the project is returned null by GraphQL, the start function throws an error. This MR fixes that.

Screenshots or screen recordings

No screenshot available.

How to set up and validate locally

TBA

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #412877 (closed)

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
  • assigned to @svedova

  • Author Maintainer

    @thomasrandolph I believe the recent changes introduced this tiny bug. I saw this on Sentry and I believe this change fixes that. Since you're the code author, would you mind giving this an initial review?

    Also, it'd be awesome if you could help me provide the steps to reproduce this in the MR description :sweat_smile:

  • Savas Vedova requested review from @thomasrandolph

    requested review from @thomasrandolph

  • Contributor
    1 Message
    :book: CHANGELOG missing:

    If you want to create a changelog entry for GitLab FOSS, add the Changelog trailer to the commit message you want to add to the changelog.

    If you want to create a changelog entry for GitLab EE, also add the EE: true trailer to your commit message.

    If this merge request doesn't need a CHANGELOG entry, feel free to ignore this message.

    Reviewer roulette

    Changes that require review have been detected!

    Please refer to the table below for assigning reviewers and maintainers suggested by Danger in the specified category:

    Category Reviewer Maintainer
    frontend Ross Byrne current availability (@robyrne) (UTC+1, 1 hour behind @svedova) Tristan Read current availability (@tristan.read) (UTC+12, 10 hours ahead of @svedova)

    To spread load more evenly across eligible reviewers, Danger has picked a candidate for each review slot, based on their timezone. Feel free to override these selections if you think someone else would be better-suited or use the GitLab Review Workload Dashboard to find other available reviewers.

    To read more on how to use the reviewer roulette, please take a look at the Engineering workflow and code review guidelines. Please consider assigning a reviewer or maintainer who is a domain expert in the area of the merge request.

    Once you've decided who will review this merge request, assign them as a reviewer! Danger does not automatically notify them for you.

    If needed, you can retry the :repeat: danger-review job that generated this comment.

    Generated by :no_entry_sign: Danger

  • mentioned in issue #412877 (closed)

  • Contributor

    Bundle size analysis [beta]

    This compares changes in bundle size for entry points between the commits 875a4a45 and 307eccdc

    :sparkles: Special assets

    Entrypoint / Name Size before Size after Diff Diff in percent
    average 4.13 MB 4.13 MB - 0.0 %
    mainChunk 2.97 MB 2.97 MB - 0.0 %

    Note: We do not have exact data for 875a4a45. So we have used data from: a0af3588.
    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

  • Contributor

    Allure report

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :exclamation: test report for 307eccdc

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Plan             | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Create           | 8      | 0      | 1       | 0     | 9     | ✅     |
    | Govern           | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Monitor          | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Manage           | 1      | 0      | 0       | 0     | 1     | ✅     |
    | Data Stores      | 2      | 0      | 0       | 1     | 2     | ❗     |
    | Framework sanity | 0      | 0      | 1       | 0     | 1     | ➖     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 21     | 0      | 2       | 1     | 23    | ❗     |
    +------------------+--------+--------+---------+-------+-------+--------+

    e2e-review-qa: :exclamation: test report for 307eccdc

    expand test summary
    +-----------------------------------------------------------------------+
    |                            suites summary                             |
    +------------------+--------+--------+---------+-------+-------+--------+
    |                  | passed | failed | skipped | flaky | total | result |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Plan             | 3      | 0      | 1       | 0     | 4     | ✅     |
    | Govern           | 21     | 0      | 0       | 1     | 21    | ❗     |
    | Create           | 8      | 0      | 1       | 0     | 9     | ✅     |
    | Monitor          | 4      | 0      | 0       | 0     | 4     | ✅     |
    | Manage           | 1      | 0      | 0       | 0     | 1     | ✅     |
    | Data Stores      | 2      | 0      | 0       | 1     | 2     | ❗     |
    | Framework sanity | 0      | 0      | 1       | 0     | 1     | ➖     |
    +------------------+--------+--------+---------+-------+-------+--------+
    | Total            | 39     | 0      | 3       | 2     | 42    | ❗     |
    +------------------+--------+--------+---------+-------+-------+--------+
  • Thomas Randolph
  • Thomas Randolph
  • Thanks for pinging me @svedova. Could you check out my questions above?

    Bottom line: How is this possible? Is there a more concerning defect that we should be addressing here?

  • Thomas Randolph requested review from @iamphill

    requested review from @iamphill

  • mentioned in issue #412874 (closed)

  • Phil Hughes removed review request for @iamphill

    removed review request for @iamphill

  • Thomas Randolph approved this merge request

    approved this merge request

  • Thomas Randolph requested review from @jivanvl and removed review request for @thomasrandolph

    requested review from @jivanvl and removed review request for @thomasrandolph

  • :wave: @thomasrandolph, thanks for approving this merge request.

    This is the first time the merge request is approved. To ensure full test coverage, a new pipeline will be started shortly.

    For more info, please refer to the following links:

  • Jose Ivan Vargas changed milestone to %16.1

    changed milestone to %16.1

  • Jose Ivan Vargas approved this merge request

    approved this merge request

  • Jose Ivan Vargas resolved all threads

    resolved all threads

  • Jose Ivan Vargas enabled an automatic merge when the pipeline for 831124ef succeeds

    enabled an automatic merge when the pipeline for 831124ef succeeds

  • Jose Ivan Vargas mentioned in commit 8c5d1a0d

    mentioned in commit 8c5d1a0d

  • added workflowstaging label and removed workflowcanary label

  • mentioned in issue #413627 (closed)

  • Please register or sign in to reply
    Loading