Skip to content

feat(description): Add cache and resource description models#444

Merged
cleptric merged 4 commits into
mainfrom
cleptric/add-cache-resource-description-models
Jun 30, 2026
Merged

feat(description): Add cache and resource description models#444
cleptric merged 4 commits into
mainfrom
cleptric/add-cache-resource-description-models

Conversation

@cleptric

Copy link
Copy Markdown
Member

Add description models for cache and resource spans, defining how span descriptions are inferred from span attributes.

Cache descriptions use cache.key for cache, cache.get, cache.put, and cache.remove operations. The latter three ops are newly registered in the database op model.

Resource descriptions use url.full for all browser resource loading operations: resource, resource.script, resource.css, resource.link, resource.img, resource.audio, resource.video, resource.iframe, and resource.other.

Add description models for cache and resource spans that define how
span descriptions are inferred from attributes.

The cache description uses cache.key for cache, cache.get, cache.put,
and cache.remove operations. The resource description uses url.full
for all resource operations including script, css, link, img, audio,
video, iframe, and other.

Also registers cache.get, cache.put, and cache.remove as new ops in
the database op model.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (description) Add cache and resource description models by cleptric in #444
  • Add name and description models for browser and url.template for HTTP server by cleptric in #448

🤖 This preview updates automatically when you update the PR.

@cleptric cleptric marked this pull request as ready for review June 22, 2026 12:40
@cleptric cleptric requested review from a team, Lms24, mjq and nsdeschenes as code owners June 22, 2026 12:40
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread model/description/resource.json
These ops were referenced in the name model but missing from the
op registry, so no SDK constants would be generated for them.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cleptric cleptric enabled auto-merge (squash) June 30, 2026 16:46
@cleptric cleptric merged commit 3c637dd into main Jun 30, 2026
17 checks passed
@cleptric cleptric deleted the cleptric/add-cache-resource-description-models branch June 30, 2026 16:48
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