Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Aug 24, 2023
    • Cam Saul's avatar
      QP: use MLv2 metadata provider. Eliminate 50% of app DB calls and improve... · a66db9e9
      Cam Saul authored
      QP: use MLv2 metadata provider. Eliminate 50% of app DB calls and improve performance by 10%+ (#33221)
      
      * QP use MLv2 metadata provider (34/2)
      
      * (22/2)
      
      * (21 / 0)
      
      * (20 / 4)
      
      * (7 / 2)
      
      * (2/0)
      
      * Cleanup; (3/0)
      
      * Last two test fixes
      
      * (36 / 2)
      
      * (8 / 1)
      
      * Reorder stuff
      
      * Test fixes :wrench:
      
      * Test fixes
      
      * Some test fixes
      
      * More test fixes :wrench:
      
      * Test fix :wrench:
      
      * MongoDB test fix
      
      * B I G  cached metadata provider performance improvements
      
      * Revert breaking change
      
      * Fix Kondo
      
      * Make sure application database metadata provider returns Database :features
      
      * Test fix :wrench:
      
      * Parallel tests for QP macroexpansion middleware
      
      * `with-current-user` is fine in parallel tests.
      
      * Add test util remap metadata providers and rework remap middleware to use mock MLv2 data
      
      * Address PR feedback
      
      * Improve unrelated flaky test
      
      * Some test improvements
      
      * Fix lint error
      
      * MLv2-ize `nest-query-test`
      
      * Fix typo in PR feedback changes
      
      * More parallelization and test fixes :wrench:
      
      * Convert lots more tests to mock metadata
      
      * Test fix? :wrench:
      
      * Fix Card update logic
      
      * Another Card update logic fix :wrench:
      
      * Another round of fixes :wrench:
      
      * Hopefully no more test fixes :wrench:
      
      * Evil test fixes :wrench:
      
      * Test fix 1
      
      * Test fix
      Unverified
      a66db9e9
  2. Aug 22, 2023
    • Cam Saul's avatar
      Parallelize QP tests (August 2023 attempt) (#33068) · d54caf88
      Cam Saul authored
      * Parallel QP tests; linter improvements; move QP test fns
      
      * Cleanup
      
      * Move query->expected-cols
      
      * Fix QP test namespace
      
      * Test fix :wrench:
      
      * Fix merge issues
      
      * Revert unrelated changes
      
      * Test fix :wrench:
      
      * Fix some things that are actually ^:parallel safe
      
      * Remove Oracle logic for destroying DBs from different sessions since we don't test on AWS anymore
      
      * Use ReentrantReadWriteLock for getting + creating test datasets to avoid race conditions
      
      * Add non-`metabase.test` versions of things to the disallowed list for `^:parallel` tests
      Unverified
      d54caf88
  3. Jul 31, 2023
  4. Jul 20, 2023
  5. Jun 02, 2023
  6. Apr 19, 2023
  7. Apr 18, 2023
  8. Mar 20, 2023
  9. Mar 02, 2023
  10. Feb 24, 2023
  11. Feb 21, 2023
  12. Feb 10, 2023
  13. Feb 02, 2023
  14. Jan 18, 2023
  15. Jan 03, 2023
  16. Dec 29, 2022
    • Bryan Maass's avatar
      adds malli defendpoint + linting + tests (#27314) · 4192501b
      Bryan Maass authored
      The new macro is called defendpoint. The previous defendpoint is now defendpoint-schema, as per @camsaul's idea. It'll make it easier to realize that we should use the Malli version of defendpoint going forward.
      
      * adds malli defendpoint + linting + tests
      
      - I decided to add a new defendpoint macro -- it is nearly exactly the
        same as `defendpoint`. If the duplication is an issue I can handle that too.
      
      * malli-defendpoint -> defendpoint-malli
      
      * defendpoint -> defendpoint-schema
      
      * defendpoint-malli -> defendpoint
      
      * fine tuning error messages + comments
      
      - fix kondo config
      
      * put back dox-for-plumatic
      
      * fix name collision
      
      * adds local malli description ns + test
      
      * update alias in test
      
      * linting fix
      
      * linting fix pt. 2
      
      * hook up umd/describe
      Unverified
      4192501b
  17. Dec 09, 2022
  18. Sep 22, 2022
  19. Aug 23, 2022
    • Cam Saul's avatar
      [Toucan 2 Prep] Replace the `IObjectPermissions` protocol with multimethods (#24917) · 241f2179
      Cam Saul authored
      * [Toucan 2 prep] Don't invoke Toucan models as functions
      
      * Some fixes
      
      * Test fixes
      
      * Test fix
      
      * [Toucan 2 prep] Don't call `type` or `class` on Toucan models
      
      * Test fixes
      
      * More test fixes :wrench:
      
      * Replace perms protocol with multimethods; derive models from perms policy keywords
      
      * Test fixes :wrench:
      
      * Appease Eastwood
      
      * Fix errors now that App has been merged in
      
      * Empty commit to trigger CI
      Unverified
      241f2179
  20. Aug 22, 2022
  21. Aug 12, 2022
    • Cam Saul's avatar
      Enable Kondo for tests (part 1) (#24736) · bc4acbd2
      Cam Saul authored
      * Fix some small things
      
      * Add Kondo to deps.edn to be able to debug custom hooks from REPL
      
      * Fix macroexpansion hook for with-temp* without values
      
      * Test config (WIP)
      
      * More misc fixes
      
      * Disable :inline-def for tests
      
      * More misc fixes
      
      * Fix $ids and mbql-query kondo hooks.
      
      * Fix with-temporary-setting-values with namespaced symbols
      
      * More misc fixes
      
      * Fix the rest of the easy ones
      
      * Fix hook for mt/dataset
      
      * Horrible hack to work around https://github.com/clj-kondo/clj-kondo/issues/1773 . Custom linter for mbql-query macro
      
      * Fix places calling mbql-query with a keyword table name
      
      * Fix the last few errors in test/
      
      * Fix errors in enterprise/test and shared/test
      
      * Fix driver test errors
      
      * Enable linters on CI
      
      * Enable unresolved-namespace linter for tests
      
      * Appease the namespace linter again
      
      * Test fixes
      Unverified
      bc4acbd2
  22. Jul 25, 2022
    • Case Nelson's avatar
      [Actions] Add emitter and action tests (#24199) · e6aded3d
      Case Nelson authored
      * wip
      
      * Update kondo hook for with-temp*
      
      `with-temp*` allows for unpaired bindings if you just want the default
      model. This would break the `let` that the hook was binding if you had
      an unpaired temp model followed by others.
      
      * Adding tests for emitters and actions
      
      Test hydration of :emitters
      
      Test hydration of :action
      
      Test http emitter execution
      
      Test emitter crud
      
      Test failure cases around emitter execution
      
      Small consistency changes made to non-test code that shouldn't affect happy path FE code, largely 404 checking and keyword/string consistency.
      
      * Fix unused requires
      
      * Fix macro resolution
      Unverified
      e6aded3d
  23. Jun 16, 2022
  24. May 19, 2022
    • Cam Saul's avatar
      `defsetting` setter functions should end in `!` (#22800) · 9dd96b3c
      Cam Saul authored
      * `defsetting` setter functions should end in `!`
      
      * Fix typo
      
      * Update .clj-kondo/hooks/metabase/models/setting.clj
      
      * Fix clj-kondo for Toucan defmodel not emitting a docstring
      
      * Remove `^:private` metadata on a couple of Settings since it makes Eastwood fussy
      Unverified
      9dd96b3c
  25. Feb 24, 2022
  26. Feb 03, 2022
  27. Oct 19, 2021
Loading