-
Notifications
You must be signed in to change notification settings - Fork 43
Add frontmatter hash comparison logging to workflow outdated check #13132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Import computeFrontmatterHash, extractHashFromLockFile, and createGitHubFileReader from frontmatter_hash_pure.cjs - Add getFileContent helper to fetch file content from GitHub API - Add logFrontmatterHashComparison to extract hash from lock file and compute new hash - Display both hashes in logs when checking if workflow is outdated - Add tests for hash comparison, missing hash, and error handling - All tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
| } | ||
|
|
||
| // Helper function to get file content using GitHub API | ||
| async function getFileContent(path) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot refactor github helper file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactored getFileContent into a new github_api_helpers.cjs file with comprehensive test coverage. The helper is now reusable across the codebase. (da6de2a)
- Create github_api_helpers.cjs with reusable getFileContent function - Add comprehensive test coverage for github_api_helpers - Update check_workflow_timestamp_api.cjs to use the new helper - All tests passing Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰 |
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
|
✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟 |
|
🎬 THE END — Smoke Claude MISSION: ACCOMPLISHED! The hero saves the day! ✨ |
Agent Container Tool Check
Result: 10/12 tools available Missing tools: java, dotnet
|
|
Smoke test results
|
Smoke Test Results ✅PRs Tested:
Tests: Overall Status: PASS cc @pelikhan
|
|
📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤 |
Smoke Test: Claude - PASS ✅PRs Reviewed:
Test Results: Overall Status: PASS
|
Plan: Add Frontmatter Hash Logging to Outdated Workflow Check
check_workflow_timestamp_api.cjsimplementationfrontmatter_hash_pure.cjsOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.