Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion jetstream/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,6 @@ def preview(
task_profiling_log_table_id=None,
task_monitoring_log_table_id=None,
bq_log_level=logging.INFO,
capacity=5,
log_source=LOG_SOURCE.PREVIEW,
)
client.delete_table(f"{project_id}.{dataset_id}.logs_{table}")
Expand Down Expand Up @@ -1752,6 +1751,13 @@ def preview(
experiments=[exp]
),
)
# make sure we've flushed all the logs
for handler in logger.root.handlers:
try:
handler.flush()
except AttributeError:
# ignore if log handler does not have 'flush'
pass

click.echo(
"A preview is available at: "
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "mozilla-jetstream"
# This project does not issue regular releases, only when there
# are changes that would be meaningful to our (few) dependents.
version = "2026.5.1"
version = "2026.5.2"
authors = [{ name = "Mozilla Corporation", email = "fx-data-dev@mozilla.org" }]
description = "Runs a thing that analyzes experiments"
readme = "README.md"
Expand Down
Loading