Skip to content

Suggested test: copilot/create-issue-large-body #5795

Description

@github-actions

Motivation

Link to the gh-aw PR: github/gh-aw#43911fix: add maxLength: 65536 to create_issue and create_discussion body fields

create_issue.body and create_discussion.body lacked an explicit maxLength, so the SM-IS-01 validator applied a 10 KB global cap and silently truncated large bodies. The fix adds maxLength: 65536 to both fields. There is currently no regression test verifying that a body larger than 10 KB is not truncated.

Proposed test

  • Workflow file: test-copilot-create-issue-large-body.md
  • Trigger: workflow_dispatch
  • Engine: copilot
  • Safe output: create-issue
  • Variant: standard

Minimal test prompt sketch

Instruct the agent to create an issue whose body is a generated text block of approximately 12–15 KB (e.g. a numbered list with enough entries to exceed 10 KB). The E2E harness can assert that the created issue body length exceeds 10,000 characters, confirming the old cap is not applied.

New fixtures or secrets needed

None — standard create-issue safe output within githubnext/gh-aw-test.

Notes

The samples: block in the source .md should include a body that is realistically large (>10 KB) so --use-samples mode also exercises the boundary. This scenario applies equally to create-discussion (github/gh-aw#43911 fixed both), but a single create-issue test is sufficient for the initial regression. Cross-engine coverage (claude, codex) is straightforward once the copilot variant passes.

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • awmgmcpg

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "awmgmcpg"

See Network Configuration for more information.

Generated by 🔍 Suggest New E2E Tests · 41 AIC · ⌖ 6.66 AIC · ⊞ 5.6K ·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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