Skip to content

Regression in 1.0.13: session.send_and_wait fails with 400 Bad Request in GitHub Actions (works on 1.0.11) #2559

Description

@Pantelis-Santorinios

Warning - This might be a public repository, please be mindful of sharing sensitive data

Why are you seeing this issue?

This is a support escalation! You can find out more about expectations on communications and response times in the on-call docs. Thank you for doing your part to keep GitHub customers happy!

Severity

Note, for Sev1 issues always page the team first, using the PagerDuty information in the service catalog and the command .pager trigger N/A <reason>. Opening an issue for a Sev2 incident can come later (and can be done by the available Escalation Engineer).

  • sev1 - Engineering must respond, when paged, within 1 business day
  • sev2 - Engineering must respond to this issue within 2 business days
  • sev3 - Engineering must respond to this issue within 2 business days

Service

copilot-sdk

Context

⚠️ Kindly provide all the requested information to ensure a prompt and efficient response. ⚠️

GitHub Support Plan

  • Top 20
  • Premium Plus
  • Premium
  • Enterprise
  • Free/Pro/Team

GitHub Product(s) Impacted (check appropriate boxes and provide GHES version if applicable)

  • GitHub.com (including GHEC)
  • GitHub Enterprise Server.
    • Running version: x.y.z
    • Recently upgraded from version: x.y.z (upgrade date: yyyy-mm-dd)
  • Proxima (ghe.com)
    • Customer tenant: -

Customer Impact

If applicable, list the impacted entities:

  • Enterprise: - Sabre Corporation
  • Organization: -
  • Repository: -
  • User: -

Zendesk Ticket(s), support bundles, and other relevant Issues and links

Issue

we have build some workflows/actions which use python/copilot-sdk to execute some code with copilot.
It was working fine until Friday (maybe longer, but we don't run it in weekends) but today we are getting errors.
We used GITHUB_TOKEN with copilot-requests: write persmission.

Using 1.0.11 works. On Friday we released 1.0.13 and that is confirmed that is causing the issue.

To Reproduce

Steps to reproduce the behavior:

  1. Use the workflow and python from the ticket https://github.zendesk.com/agent/tickets/4735364
  2. See the error
  3. Force Copilot-sdk to be 1.0.11
  4. Now it works

Expected behavior

1.0.13 not throwing 400 bad request.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

splunk

exception.message: request failed: checking server-to-server token: bad request: GitHub App Server-To-Server Tokens are not supported for this endpoint

That looks just weird. example request id in the splunk query. You can reproduce this easily.

cc:
@EvanBoyle
@patniko

Support Squad(s): @github/support-squad-copilot @github/support-squad-c2c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    support-escalationRequest from supportsupport-sev2High urgency, low or transient impact, no known workaround

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions