Skip to content

Test hosted diagnostics, token age, and preview safety - #2113

Draft
RhysSullivan wants to merge 5 commits into
security/casa-remaining-controlsfrom
security/casa-remaining-controls-tests
Draft

RhysSullivan wants to merge 5 commits into
security/casa-remaining-controlsfrom
security/casa-remaining-controls-tests

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Test diagnostic redaction and authentication behavior introduced by #2112. Add a GraphQL regression test that accepts a valid response above 32 MiB and a stored-preview scenario that submits hostile markup through the API, reads back sanitized content, then verifies the gallery remains inert after reload.

Remove tests for the withdrawn request and import caps. Existing OpenAPI parser tests are unchanged.

Validation: 71 focused tests and three cloud evidence scenarios passed. The two new authentication scenarios verify a valid key in headers versus six query carriers, and a successful OAuth callback with credential-free exported diagnostics. E2E type-checking and targeted lint passed; formatting completed. The earlier full-suite run predates this revision.

Not merge-ready: the code PR still contains the deferred 24-hour token cap. Replaying the original token-compatibility tests exposed two regressions; the token assertions in this draft do not establish compatibility. Resolve this before merging.

The screenshot below uses a synthetic test identity in the local cloud environment.

Stored preview remains inert after reload in the isolated cloud test

@RhysSullivan
RhysSullivan added this pull request to stack #2114 September 24, 2026 18:11
@RhysSullivan RhysSullivan changed the title Test hosted token limits import bounds and diagnostic redaction Test hosted token limits, import bounds, and diagnostic redaction Sep 24, 2026
@RhysSullivan
RhysSullivan force-pushed the security/casa-remaining-controls-tests branch from c68d538 to e107c7e Compare September 24, 2026 18:13
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-2113.executor-e2e.workers.dev
MCP https://executor-preview-pr-2113.executor-e2e.workers.dev/mcp
Deployed commit 85b1c16

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@RhysSullivan
RhysSullivan force-pushed the security/casa-remaining-controls-tests branch from 997eac8 to af5a581 Compare September 24, 2026 18:20
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing 85b1c16 Commit Preview URL

Branch Preview URL
Sep 24 2026, 07:46 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud 85b1c16 Sep 24 2026, 07:47 PM

@pkg-pr-new

pkg-pr-new Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@2113

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@2113

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@2113

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@2113

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@2113

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@2113

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@2113

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@2113

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@2113

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@2113

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@2113

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@2113

executor

npm i https://pkg.pr.new/executor@2113

commit: 85b1c16

@RhysSullivan
RhysSullivan force-pushed the security/casa-remaining-controls-tests branch from af5a581 to ae50793 Compare September 24, 2026 19:29
@RhysSullivan RhysSullivan changed the title Test hosted token limits, import bounds, and diagnostic redaction Test hosted diagnostics, token age, and preview safety Sep 24, 2026

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