Skip to content

Change graph X-axis from time to workflow steps and add final metrics collection#8

Merged
Garbee merged 5 commits intomainfrom
copilot/update-graph-x-axis
Feb 14, 2026
Merged

Change graph X-axis from time to workflow steps and add final metrics collection#8
Garbee merged 5 commits intomainfrom
copilot/update-graph-x-axis

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 14, 2026

Graphs displayed time-based X-axis labels, making it difficult to correlate metrics with workflow steps. Additionally, metrics collection stopped before the post action ran, missing the final machine state.

Changes

  • X-axis labeling: Replaced time-based labels with workflow step context

    • "Pre-workflow" - metrics before first step
    • "Step Name" - metrics during step execution
    • "Between X and Y" - metrics between consecutive steps
    • "Post-workflow" - metrics after final step
  • Final metrics collection: Added collectFinalMetrics() call in post action to capture CPU/memory state after workflow completion

  • Simplified error handling: Removed time-based fallback since github-token is required and step markers are always present; now throws explicit error when missing

  • Boundary fix: Changed step end boundary check from <= to < so metrics at exact end time don't belong to completed step

Example output:

x-axis "Workflow Steps" ["Pre-workflow","Checkout","Build","Between Build and Test","Test","Post-workflow"]

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits February 14, 2026 14:38
Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
…N formatting

Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Co-authored-by: Garbee <868301+Garbee@users.noreply.github.com>
Copilot AI changed the title [WIP] Update graphs to display workflow step points Change graph X-axis from time to workflow steps and add final metrics collection Feb 14, 2026
Copilot AI requested a review from Garbee February 14, 2026 14:48
@Garbee Garbee marked this pull request as ready for review February 14, 2026 15:59
@Garbee Garbee merged commit 44fc510 into main Feb 14, 2026
6 checks passed
@Garbee Garbee deleted the copilot/update-graph-x-axis branch February 14, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants