Skip to content

feat(api): add optional log snapshots and Stripe subscription pagination - #8431

Merged
waleedlatif1 merged 3 commits into
stagingfrom
codex/agent-feedback-additions
Sep 29, 2026
Merged

waleedlatif1 merged 3 commits into
stagingfrom
codex/agent-feedback-additions

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Add an optional log snapshot flag through the existing API contract and generated CLI. Existing reads still include snapshots by default.
  • Add provider-native cursors to Stripe subscription list/search tools, preserving one-page requests and existing filters.
  • Correct Stripe operation guidance and regenerate the existing CLI/integration docs.

Type of Change

  • New feature
  • Bug fix

Testing

  • 368 application/tool tests, 424 CLI tests, and 6 real PostgreSQL/HTTP/CLI integration tests passed, with JSON reports.
  • Eight negative controls proved cursor handling, conflict rejection, token propagation, terminal pages, snapshot omission, and the existing default are covered; restored suites passed.
  • Application/CLI type checks, lint, all 52 repository audits, block-registry audit, and docs-manifest check passed.
  • Completed integration validation and all cleanup passes. Production build and full-suite CI run on this PR; no live Stripe transactions were performed.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Sep 29, 2026 8:50pm UTC

Request Review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 21 files

Reply with feedback, questions, or to request a fix.

Fix all with cubic | Re-trigger cubic

Comment thread apps/sim/blocks/blocks/stripe.ts
@greptile-apps

greptile-apps Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium risk] Adds optional log filtering and Stripe subscription pagination.

The PR appears safe to merge; no actionable regression was established.

Summary

The PR adds an optional workflow-snapshot omission flag to log detail reads and exposes one-page cursor navigation for Stripe subscription listing and search.

  • Existing log reads continue to include snapshots by default; the CLI and API can request a compact read.
  • Stripe tools expose list cursors and search continuation tokens, with corresponding block fields and regenerated documentation.
Diagram
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Client[API or CLI log read] --> Contract[Validate snapshot flag]
  Contract --> Authorized[Authorize log access]
  Authorized --> LogQuery{Include snapshot?}
  LogQuery -->|Yes or omitted| Full[Return log with workflow state]
  LogQuery -->|No| Compact[Return log with null workflow state]
  Caller[Workflow or agent] --> Stripe{Subscription operation}
  Stripe -->|List| List[Send ID cursor; return one page]
  Stripe -->|Search| Search[Send page token; return next_page]
Loading

Reviews (1) · Last reviewed commit: "fix: clarify Stripe guidance and log sna..."

@waleedlatif1
waleedlatif1 merged commit 0edb79f into staging Sep 29, 2026
32 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/agent-feedback-additions branch September 29, 2026 22:46

This branch was successfully deployed

1 active deployment
Preview — 3babc643 Deployed Sep 29, 2026 by vercel[bot]
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