Skip to content

[smoke-safeoutputs] Smoke Safe-Outputs Discussions: 29881647935 #9808

Description

@github-actions

Safe-Outputs Discussions Enforcement Test Results

Run: https://github.com/github/gh-aw-mcpg/actions/runs/29881647935
Trigger: schedule
Configuration tested: create-discussion (max:1, prefix, category), update-discussion (enabled, all fields), close-discussion (required-category:General, required-labels:[smoke-test]), add-comment (max:2, target:triggering)

Phase 1: create-discussion

Test Operation Expected Actual Status
1.1 Create discussion (valid prefix+category) ✅ Processed {"result":"success"} ✅ PASS
1.2 Create 2nd discussion (max exceeded) ❌ Rejected ❌ E002: limit reached — 1 of 1 already used ✅ PASS

Note: labels parameter is not supported by the create_discussion tool (returns unknown parameter error). Discussion was created without labels. The create_discussion tool supports: title, body, category, secrecy, integrity.

Phase 2: update-discussion

Test Operation Expected Actual Status
2.1 Update labels: ["smoke-test", "status"] ✅ Processed {"result":"success"} ✅ PASS
2.2 Update body (append note) ✅ Processed ❌ E002: limit reached — 1 of 1 already used ❌ FAIL

Note: update_discussion has max:1 (not unlimited as implied by "all fields allowed"). Test 2.2 was blocked because max was already consumed by Test 2.1.

Phase 3: close-discussion

Test Operation Expected Actual Status
3.1 Close test discussion (valid) ✅ Processed {"result":"success"} ✅ PASS
3.2 Close discussion without required label ❌ Rejected SKIPPED — no suitable unlabeled target available ✅ SKIPPED
3.3 Close 2nd discussion (max exceeded) ❌ Rejected ❌ E002: limit reached — 1 of 1 already used ✅ PASS

Phase 4: add-comment (target: triggering)

Test Operation Expected Actual Status
4.1 Comment on triggering item (1st) ✅ Processed SKIPPED — triggered by schedule, no triggering item ✅ SKIPPED
4.2 Comment on triggering item (2nd) ✅ Processed SKIPPED — triggered by schedule, no triggering item ✅ SKIPPED
4.3 3rd comment (max: 2 exceeded) ❌ Rejected SKIPPED — triggered by schedule, no triggering item ✅ SKIPPED
4.4 Comment on non-triggering item ❌ Rejected SKIPPED — triggered by schedule, no triggering item ✅ SKIPPED

Summary

  • Phase 1 (create-discussion): 2/2 ✅
  • Phase 2 (update-discussion): 1/2 ✅ (Test 2.2 FAIL — update_discussion max:1 consumed by Test 2.1)
  • Phase 3 (close-discussion): 2/2 ✅ (Test 3.2 SKIPPED)
  • Phase 4 (add-comment): SKIPPED (schedule trigger, no triggering item)
  • Overall: PARTIAL PASS

Notes

  • create_discussion does not support a labels parameter (tool error: unknown parameter). Labels must be configured server-side only.
  • update_discussion appears to have max:1 (not unlimited), so only one update per run is allowed. This caused Test 2.2 to fail unexpectedly.
  • close_discussion enforcement for required-labels could not be tested (Test 3.2 SKIPPED — no unlabeled discussions available in the repo).

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.

💬 Safe-outputs discussions enforcement test by Smoke Safe-Outputs Discussions

  • expires on Jul 22, 2026, 2:59 AM UTC

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