Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Nov 19, 2020
    • Walter Leibbrandt's avatar
      Order fields to dump by ID (#13839) · 79134b6b
      Walter Leibbrandt authored
      This is to ensure that fields are dumped in ID order, which is necessary to ensure that parent fields are insert _before_ their children.
      
      This issue was discovered while investigating a hosted instance for which snapshotting was failing. The failures were caused by the `fk_field_parent_ref_field_id` db constraint in Metabase being violated for a MongoDB database, indicating that child fields were being inserted before parent fields. This was confirmed experimentally, and being strict about the order of the field records were confirmed as the fix.
      
      This isn't a common issue, because it only affects fields that can have parent fields, like in MongoDB.
      Unverified
      79134b6b
    • Damon P. Cortesi's avatar
      Enable enterprise cypress tests on release branch (#13809) · c607ce23
      Damon P. Cortesi authored
      * Enable enterprise cypress tests (#13756)
      
      * Get auditing.cy.spec to pass
      
      * Skip custom drill through tests until we replace them
      
      * A few updates to the whitelabel test case:
      - Move custom colors into constant variable to reference throughout
      - remove some 'it' blocks we didn't need to speed up tests
      - Remove a few 'wait's
      - Restructure tests to be a bit more in line with best practices
      
      * Update the snippet permissions test:
      - Create test for just creating snippet as admin
      - Create test for inability to create snippet as user by default
      - Quarantine the user snippet creation test
      
      * Rename sandboxes
      
      * Replace legacy ENABLE_ENTERPRISE_EDITION env variable with MB_EDITION
      
      * Add MB_EDITION env variable to Cypress test run
      
      * Fix admin settings `auth` cypress test (#13841) [ci skip]
      
      * Fix `snippet` Cypress test for CI (#13843)
      
      - related: https://github.com/metabase/metabase-enterprise/issues/543
      
      
      
      Co-authored-by: default avatarNemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
      Unverified
      c607ce23
  2. Nov 18, 2020
  3. Nov 17, 2020
  4. Nov 16, 2020
  5. Nov 13, 2020
  6. Nov 12, 2020
  7. Nov 11, 2020
    • Cam Saul's avatar
      Mega sync performance improvements (#13746) · a81ae199
      Cam Saul authored
      * Add a Postgres test [ci postgres]
      
      * Mega-optimized SELECT probe query [ci drivers]
      
      * Mega sync improvements [ci drivers]
      
      * Even more amazing sync perf improvements [ci drivers]
      
      * Fix bad edit [ci drivers]
      
      * Test/lint fixes :wrench:
      
      * Test fix :wrench: [ci drivers]
      
      * Some driver fixes :wrench: [ci drivers]
      
      * Address PR feedback [ci drivers]
      
      * Test fixes for everything except for Oracle [ci drivers]
      
      * Fix Oracle [ci drivers]
      
      * Fix Redshift [ci redshift]
      Unverified
      a81ae199
  8. Nov 10, 2020
  9. Nov 09, 2020
  10. Nov 06, 2020
    • dpsutton's avatar
      Fingerprints reduce over table-rows-sample instead of realizing all (#13688) · 1256e7b8
      dpsutton authored
      * Fingerprints reduce over table-rows-sample instead of realizing all
      
      tests are failing because we test fingerprinters a lot by supplying
      fake results and then reducing over those results. Now we are reducing
      over them in the query processor and need to get a better testing
      strategy.
      
      I think i can stub out the query-processor to take the `:rff` and just
      transduce over some fake supplied results but need to verify
      
      * Hijack query-processor to use rff on fake data
      
      * Docstring and make private `table-rows-sample-query`
      
      * Fix tests to use query function rather than hijack qp
      
      also was calling empty not empty? :(
      
      * drivers check [ci drivers]
      
      * Docstring cleanup for rff and remove outdated comment
      
      * Make rff required for table-rows-sample
      
      now you must reduce over the reducible row set rather than realizing
      the results in memory and then working with them
      
      * empty commit for drivers [ci drivers]
      Unverified
      1256e7b8
    • Cam Saul's avatar
      Mega build script improvements (#13638) · cfa6bf84
      Cam Saul authored
      * Mega build script improvements
      
      * Look for project.clj to determine root directory since we delete .git on CI for speed
      
      * If .git folder is missing (i.e., in CI) fail gracefully
      
      * Don't need to generate version file to run Cypress tests, right?
      
      * Build uberjar step can cache version.properties
      (so the Cypress test steps don't need to generate it again)
      
      * Flush caches
      
      * Update uberjar cache key
      Unverified
      cfa6bf84
  11. Nov 05, 2020
Loading