Skip to content

Resolve "NoMethodError: undefined method `map' for "15":String"

What does this MR do and why?

Fixes issues related to the new notebook rendering:

The test cases were changed to use a notebook that replicates the errors.

How to set up and validate locally

  1. Enable the feature flag:
  2. Open the rails consoles (rails c)
  3. Feature.enable(:jupyter_clean_diffs)
  4. Create a mirror of https://gitlab.com/gitlab-org/incubation-engineering/mlops/ipynb-test-projects/diff-sample into your GDK instance
  5. Open the commit 542d42a0196e2e94a0d5793acdee5ba997ab12bf (http://gdk.test:3000/<path-to-mirror>/-/commit/542d42a0196e2e94a0d5793acdee5ba997ab12bf)

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 #345963 (closed)

Edited by Eduardo Bonet

Merge request reports