-
Notifications
You must be signed in to change notification settings - Fork 227
Closed as not planned
Labels
ai-generatedcookieIssue Monster Loves Cookies!Issue Monster Loves Cookies!enhancementNew feature or requestNew feature or requestmonitoringplan
Description
Objective
Add timing instrumentation to gosec security scans in GitHub Actions to track performance and detect regressions.
Context
From discussion #12003: gosec v2.22.11 includes performance optimizations (5-15% faster). We should track scan duration to verify improvements and detect future regressions.
Approach
- Add timing to
.github/workflows/security.ymlgosec job:
- name: Run gosec security scan
run: |
START_TIME=$(date +%s)
gosec -fmt=sarif -out=results.sarif ./...
END_TIME=$(date +%s)
DURATION=$((END_TIME - START_TIME))
echo "Gosec scan completed in ${DURATION}s"
echo "gosec_duration=${DURATION}" >> $GITHUB_OUTPUT- Add performance reporting step to log duration
- Consider adding duration to job summary for visibility
Files to Modify
- Update:
.github/workflows/security.yml
Acceptance Criteria
- Scan duration is logged in workflow output
- Duration is visible in job summary
- Baseline measurement documented
- No impact on scan functionality
Priority
LOW - Monitoring enhancement
Estimated Effort
15-20 minutes
AI generated by Plan Command for discussion #12003
Reactions are currently unavailable
Metadata
Metadata
Labels
ai-generatedcookieIssue Monster Loves Cookies!Issue Monster Loves Cookies!enhancementNew feature or requestNew feature or requestmonitoringplan