Skip to content

openresponses-http tests fail on origin/main for unauthenticated requests and owner detection #58964

@efww

Description

@efww

Summary

I reproduced two failing tests in src/gateway/openresponses-http.test.ts on origin/main.

Reproduction

pnpm test -- src/gateway/openresponses-http.test.ts src/gateway/server-chat.agent-events.test.ts

Failures

  1. Unauthenticated POST to /v1/responses returns 200 instead of 403

    • src/gateway/openresponses-http.test.ts:241
  2. Requested HTTP scopes appear to imply owner identity

    • senderIsOwner is true when the test expects false
    • src/gateway/openresponses-http.test.ts:747

Expected behavior

  • HTTP requests without auth should be rejected with 403
  • Requested HTTP scopes should not, by themselves, prove owner identity for owner-only tool access

Notes

Reproduced on origin/main.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions