Add smoke test for project frontmatter and safe outputs#13043
Add smoke test for project frontmatter and safe outputs#13043
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
🔍 PR Triage ResultsCategory: test | Risk: high | Priority: 27/100 Scores Breakdown
📋 Recommended Action: DeferThis PR is currently in draft status and represents a large test suite addition (10 files, 6508 lines). Will be re-triaged once marked as ready for review. Current Status:
Test Coverage Added:
Next Steps:
Batch Info: Part of Triaged by PR Triage Agent on 2026-02-01
|
|
@copilot not in separate files but in one single file |
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Analyzed both approaches: PR #13029 (Integrated):
Current PR (Dedicated smoke-project.md):
Recommendation: Keep dedicated smoke-project.md approach Reasons:
The integrated approach is good for basic smoke testing, but dedicated approach better ensures safety of all project features. |
|
Adds a comprehensive automated smoke test for all project-related features using the test board at
https://github.com/orgs/github-agentic-workflows/projects/1.Test Coverage
The consolidated
smoke-project.mdworkflow includes 5 test sections:Section 1: Project Frontmatter - Validates automatic safe-outputs configuration when
project:field is present in frontmatter (auto-createsupdate-projectwith max: 100 andcreate-project-status-updatewith max: 1)Section 2: Update-Project - Tests all update-project operations: add draft issues, update item fields, archive items
Section 3: Create-Project - Tests project creation with custom views (TABLE/BOARD layouts) and custom fields (SINGLE_SELECT, TEXT)
Section 4: Copy-Project - Tests project duplication with optional draft issue copying, validates view/field replication
Section 5: Project Status Updates - Tests status updates with all status types (ON_TRACK, AT_RISK, OFF_TRACK) and markdown formatting
Configuration
The workflow triggers via:
workflow_dispatch(manual)schedule: every 24h(scattered)smoke-projectsAll tests use strict mode with read-only permissions and safe-outputs for write operations. The consolidated approach provides easier maintenance with all project tests in a single, well-organized workflow file.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.