Skip to content

[CHA-2563] Add retention policy integration tests#27

Closed
hifaizsk wants to merge 5 commits intoGetStream:masterfrom
hifaizsk:feature/cha-2563-retention-policy-endpoints
Closed

[CHA-2563] Add retention policy integration tests#27
hifaizsk wants to merge 5 commits intoGetStream:masterfrom
hifaizsk:feature/cha-2563-retention-policy-endpoints

Conversation

@hifaizsk
Copy link
Copy Markdown
Contributor

@hifaizsk hifaizsk commented Mar 23, 2026

Ticket

Summary

  • Add integration tests for the 4 retention policy endpoints: SetRetentionPolicy, GetRetentionPolicy, GetRetentionPolicyRuns, DeleteRetentionPolicy
  • Tests cover the full CRUD lifecycle: create policy → get policy → get runs → delete policy
  • Graceful skip when retention feature is not enabled on the test app

Checklist

  • Integration tests for retention policy endpoints

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hifaizsk hifaizsk force-pushed the feature/cha-2563-retention-policy-endpoints branch from 6ccf58e to c116846 Compare March 23, 2026 16:01
@hifaizsk hifaizsk changed the title [CHA-2563] Add retention policy endpoints [CHA-2563] Add retention policy integration tests Mar 23, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Regenerated SDK from latest serverside-api.yaml spec. Updated retention
policy integration test to only test getRetentionPolicyRuns endpoint.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hifaizsk
Copy link
Copy Markdown
Contributor Author

Re-creating PR from org repo instead of fork

@hifaizsk hifaizsk closed this Mar 31, 2026
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