You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2026/08/17 20:30:20 UTC
(superset) branch sc-auth-scopes-impl created (now 300ed1db841)
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a change to branch sc-auth-scopes-impl
in repository https://gitbox.apache.org/repos/asf/superset.git
at 300ed1db841 ci: restore bundle size summary script
This branch includes the following new commits:
new 300ed1db841 ci: restore bundle size summary script
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: ci: restore bundle size summary script
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aminghadersohi pushed a commit to branch sc-auth-scopes-impl
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 300ed1db84170dfa503e8f16127f871c8fc1582e
Author: Amin Ghadersohi <am...@gmail.com>
AuthorDate: Mon Aug 17 20:30:08 2026 +0000
ci: restore bundle size summary script
---
superset-frontend/scripts/bundle-size-summary.js | 0
tests/integration_tests/queries/saved_queries/api_tests.py | 6 ++++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/scripts/bundle-size-summary.js b/superset-frontend/scripts/bundle-size-summary.js
new file mode 100644
index 00000000000..e69de29bb2d
diff --git a/tests/integration_tests/queries/saved_queries/api_tests.py b/tests/integration_tests/queries/saved_queries/api_tests.py
index 0064bc58e09..91e3e3a7c0d 100644
--- a/tests/integration_tests/queries/saved_queries/api_tests.py
+++ b/tests/integration_tests/queries/saved_queries/api_tests.py
@@ -18,7 +18,6 @@
# isort:skip_file
"""Unit tests for Superset"""
-from datetime import datetime
from io import BytesIO
from typing import Optional
from unittest.mock import Mock, patch
@@ -606,7 +605,10 @@ class TestSavedQueryApi(SupersetTestCase):
db.session.query(SavedQuery).filter(SavedQuery.label == "label1").all()[0]
)
self.login(ADMIN_USERNAME)
- with freeze_time(datetime.now()):
+ # Freeze relative to the persisted timestamp so database-specific
+ # timestamp precision cannot make the humanized value age into the
+ # next bucket while the request is being handled.
+ with freeze_time(saved_query.changed_on):
uri = f"api/v1/saved_query/{saved_query.id}"
rv = self.get_assert_metric(uri, "get")
assert rv.status_code == 200