Conversation
- Remove server.ts HTTP server implementation - Add collector.ts for background metrics collection - Add mark-step.ts helper script for manual step markers - Update Metrics class to write to temporary file - Update post action to read from file instead of HTTP - All tests passing with new file-based approach Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
- Update README.md to reflect file-based architecture - Update CLAUDE.md with new architecture details - Remove server.ts and server.bundle.js - Remove get-port dependency (no longer needed) - Simplify test workflow (no server readiness check) - Manual markers now documented as deprecated in favor of automatic step detection Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
- Add comments documenting race condition in markStep methods - Note that manual markers are deprecated in favor of automatic detection - Remove outdated AbortController timeout reference from CLAUDE.md - Race condition is acceptable since manual markers are deprecated Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Analyze necessity of server for data handling
Replace HTTP server with file-based metrics storage
Feb 14, 2026
- Make github-token required in action.yml - Remove markStep() method from Metrics class - Remove mark-step.ts script and its bundle - Update fetchWorkflowSteps to require token and fail if not provided - Remove manual marker merge logic from post action - Remove test-manual-step-markers job from workflow - Add github-token to test-basic job - Remove markStep test cases - Update README to remove manual markers documentation - Update CLAUDE.md to reflect changes - All tests passing (29/29) Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Copilot
AI
changed the title
Replace HTTP server with file-based metrics storage
Remove manual step markers and require GitHub token
Feb 14, 2026
Copilot
AI
changed the title
Remove manual step markers and require GitHub token
refactor!: replace HTTP server with file-based metrics, require GitHub token
Feb 14, 2026
Added a step to start workflow telemetry with GitHub token. Signed-off-by: Jonathan Garbee <jonathan@garbee.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces HTTP server architecture with file-based metrics storage and removes manual step marker support. GitHub token now required for automatic step tracking.
Changes
Architecture shift: HTTP → File-based
server.ts(HTTP server on port 7777, REST endpoints for metrics/markers)collector.ts(background process writing to temp file)/tmp/metrics-{GITHUB_RUN_ID}-{GITHUB_JOB}.jsonafter each collection cycleRemoved manual step markers
mark-step.tsCLI tool andMetrics.markStep()methodMade github-token required
action.yml: changed input from optional to requiredfetchWorkflowSteps(): throws if token missing (was silent fallback to empty array)Migration
Stats
get-portdependency💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.