Skip to content

[release] v0.100.8#4494

Merged
junaway merged 54 commits into
mainfrom
release/v0.100.8
May 31, 2026
Merged

[release] v0.100.8#4494
junaway merged 54 commits into
mainfrom
release/v0.100.8

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

New version v0.100.8 in

  • web
    • web/oss
    • web/ee
  • services
  • api
  • sdks
    • sdks/python
  • clients
    • clients/python
    • clients/typescript
  • kubernetes
    • kubernetes/helm

jp-agenta and others added 13 commits May 26, 2026 18:33
Previously RetrievalInfo lived under api/oss/src/apis/fastapi/git/ and the
routers assembled it directly, including making duplicate environment-revision
DB calls to gather environment-side references.

This commit moves the DTO and helpers to api/oss/src/core/git/ for symmetry
with ResolutionInfo, threads retrieval_info through the services as the third
element of a (revision, resolution_info, retrieval_info) tuple, and lets the
routers act as pass-throughs.

Highlights:
- core/git/dtos.py: RetrievalInfo Pydantic model
- core/git/utils.py: build_retrieval_info / revision_references helpers
- Six services updated to return the 3-tuple; environment-backed paths merge
  environment + target references inside the service, no router-level DB call
- Queries and testsets gain thin retrieve_*_revision wrappers for symmetry
- /revisions/retrieve and /revisions/resolve responses carry retrieval_info
- Unit + acceptance test coverage for all six entities, both retrieve and
  resolve, direct and environment-backed

No request-field renames in this commit; only the internal refactor and the
new retrieval_info on retrieve/resolve responses.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment May 31, 2026 2:48pm

Request Review

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 29, 2026
jp-agenta and others added 14 commits May 29, 2026 17:31
Resolved conflicts by keeping both import sets (RetrievalInfo/build_retrieval_info
from HEAD and validate_* functions from incoming) across all service and router
files. In environments/service.py, adopted the incoming simplification of
retrieve_environment_revision to delegate to fetch_environment_revision (which
includes the full validation set), restored build_retrieval_info call and fixed
the incorrect 2-tuple return to 3-tuple. In the SDK test file, kept HEAD's
test_stores_retrieval_references_on_tracing_context method and appended the
incoming TestResolverMiddlewareTracingParameters class. Dropped unused
VariantForkError import from all three routers (now handled by handle_git_exceptions).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removes APPLICATIONS_REVISIONS_* and EVALUATORS_REVISIONS_* from
EventType and WebhookEventType (applications/evaluators now emit as
workflow events). Adds two defensive guards so existing stored data
with the old string values doesn't cause runtime errors:

- mappings.py: fall back to EventType.UNKNOWN for unrecognized DB rows
- webhooks/types.py: drop unknown event_type strings from subscription
  data instead of raising a validation error on load

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The coercion belongs at the type boundary, not the mapping function.
Any code path constructing an Event from a raw string now gets the
fallback to UNKNOWN automatically.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ardaerzin and others added 3 commits May 30, 2026 14:59
… order

- QuickDateRangePicker: store relative presets with `to: null` so the audit-log
  window stays live to "now", matching the default range and the Refresh action.
  A fixed upper bound captured at selection time was hiding events created after
  the preset was picked until a manual refresh.
- EventQuery generated type: reorder fields to match the backend model definition
  so a future Fern client regen produces a no-op diff instead of diverging.
…ow-events

[fix] Resolve broken events and audit log
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels May 30, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 30, 2026

Railway Preview Environment

Status Destroyed (PR closed)

Updated at 2026-05-31T14:50:19.028Z

@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 30, 2026
@junaway junaway linked an issue May 30, 2026 that may be closed by this pull request
@dosubot dosubot Bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels May 31, 2026
@junaway junaway merged commit 093d054 into main May 31, 2026
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Agenta Upgrade Migration - Slug backward compatibilty

3 participants