Skip to content

fix: use awaited vite-node entry for ESM eval retries - #422

Merged
Stephen Belanger (Qard) merged 1 commit into
mainfrom
max/fix-esm-eval-retry
Oct 16, 2026
Merged

Stephen Belanger (Qard) merged 1 commit into
mainfrom
max/fix-esm-eval-retry

Conversation

@max-braintrust

Copy link
Copy Markdown
Contributor

Fix the ESM eval retry failures uncovered by Node 20 CI on #409. The underlying issues already exist on main.

Validation: the Node 20 eval fixture cohort passed locally. All CI checks passed with this patch on #409; this PR isolates the same three-file change for review.

Merge this before #409, which is stacked on this branch.

Declare vite-node in both ESM retry fixtures so Node 20 does not depend on an on-demand npm install.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T08:04:14.548917Z 32442e6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 32442e6a983a:

Available artifact names
  • artifacts-build-global
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-x86_64-pc-windows-msvc
  • artifacts-build-local-aarch64-apple-darwin
  • artifacts-build-local-x86_64-unknown-linux-musl
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • cargo-dist-cache
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-plan-dist-manifest

@Qard
Stephen Belanger (Qard) merged commit 9406b04 into main Oct 16, 2026
30 checks passed
@Qard
Stephen Belanger (Qard) deleted the max/fix-esm-eval-retry branch October 16, 2026 16:13
Stephen Belanger (Qard) pushed a commit that referenced this pull request Oct 16, 2026
Stacked on #422, which isolates the ESM eval CI fix. Merge that PR
first.

Carry a facet's Topics automation settings when copying it between
projects.

Schema v2 adds `topics_automations`: each referenced automation's name,
description, and API-returned config. This includes scope, automation
filter, sampling, model, status, and timing. Project-specific
`facet_functions` and `topic_map_functions` are excluded and rebuilt in
the destination.

Pull selects settings by bound automation ID and repeats that selection
after the facet picker. An unrelated same-name automation does not block
export. IDs stay internal; template references remain names.

Push behavior:

- New automation: use the bundled settings and description.
- Matching settings and description: retain them without requiring force
for the settings. Existing facet/preprocessor replacement rules still
apply.
- Different settings or description: require `--force`. Replace settings
in full while preserving destination wiring. Destination-only settings
are dropped and the description can be cleared.
- `--topics-automation`: use the selected destination's settings
instead.

Version 1 templates remain readable. Specific experiment IDs produce an
error naming the facet and automation because they cannot be carried
between projects. Timing validation and normalization stay on the
server.

Checks: 24 focused observability tests passed, covering settings round
trips, push cases, API request contents, and automation-ID selection.
Formatting and Clippy passed, with the existing root enum warning
suppressed. A live pull verified three prompt facets, their shared saved
preprocessor, and span-scoped Topics settings. No live destination push
was performed. No backend changes are required.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants