Skip to content

fix(tavily): preserve publication dates on search results - #10642

Open
yogev-nimble wants to merge 1 commit into
simstudioai:stagingfrom
yogev-nimble:codex/tavily-news-publication-dates
Open

yogev-nimble wants to merge 1 commit into
simstudioai:stagingfrom
yogev-nimble:codex/tavily-news-publication-dates

Conversation

@yogev-nimble

@yogev-nimble yogev-nimble commented Dec 2, 2026 •

Copy link
Copy Markdown

Summary

Tavily’s news search already returns a published_date on articles it can date. Sim currently drops that field when it maps the response. This change keeps the provider’s date on each result and makes it available to downstream blocks at results[0].published_date.

A null or missing date remains absent from the mapped result. The value is Tavily’s estimate of publication or update time. The search request stays the same. I maintain WebRouter and noticed the missing field while comparing how search workflows carry source dates.

Type of change

  • Bug fix

Testing

A mixed response fixture reproduces the lost date on the original mapper. With the fix, the dated article keeps its original date, articles with null or missing dates keep their original shape, and Sim’s output-reference resolver accepts the new path. The targeted Vitest runs and workspace type checks passed. The workspace lint, generation and audits passed. In the full app run, 46,068 tests passed and eight were skipped. Three MCP catalog tests failed in that run and passed when run separately. A fourth failure in the proxy TLS test also reproduced on unmodified staging. The Tavily fixture requires no API key.

Checklist

  • Code follows project style guidelines.
  • Reviewed the changes and added regression coverage.
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement.

WebRouter · WebRouter documentation

@vercel

vercel Bot commented Dec 2, 2026

Copy link
Copy Markdown

@yogev-nimble is attempting to deploy a commit to the Sim Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] This PR appears safe to merge.

Summary

Preserves Tavily’s published_date on search results so downstream blocks can read it.

  • Tavily search results keep publication dates when the provider has them.

Reviews (1) · Last reviewed commit: "fix(tavily): preserve publication dates ..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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.

1 participant