Skip to content

Release v1.1.0: Confidence-aware machine detection and storage-class … - #9

Merged
gbudjeakp merged 1 commit into
mainfrom
feature/confidence-detection-storage-probes
Jun 26, 2026
Merged

gbudjeakp merged 1 commit into
mainfrom
feature/confidence-detection-storage-probes

Conversation

@gbudjeakp

Copy link
Copy Markdown
Collaborator

…probing

Backend Changes

  • Add confidence-aware machine detection with DetectMachineWithConfidence API
    • Scoring: exact vCPU/memory match, multi-provider disambiguation, ambiguous candidate penalty
    • Returns machine + confidence (0..1) + reasoning string
    • Backward compatible: existing DetectMachine wraps the new API
  • Add best-effort runtime storage-class probing on Linux
    • Reads /sys/class/block/{dev}/queue/rotational to detect SSD vs HDD
    • Gracefully handles non-Linux and unmapped volumes
  • Surface detection confidence and storage hints in metrics summary
    • detected_machine_confidence, detected_machine_confidence_level (high/medium/low/unknown)
    • detected_machine_match_reason, runtime_storage_class (ssd/hdd/unknown)

Frontend UI Improvements

  • Refactor JobsPage into focused modules
    • JobsTable, SavingsBanner, SavingsChart, Pagination components
    • Shared types and utilities
  • Add catalog filters for vCPU, memory, network bandwidth, and storage type
    • Dynamic option generation from loaded catalog
    • Clear button for active filters
  • Show detection confidence and storage hints in Job Detail page
    • Color-coded confidence badges (high/medium/low/unknown)
    • Catalog storage type + runtime storage hint display
  • Refactor AlertsPage into tab-based components for maintainability

GitHub Action Enhancements

  • Emit new outputs for detection quality
    • detected_machine_confidence (numeric 0..1)
    • detected_machine_confidence_level (high/medium/low/unknown)
    • detected_storage_type (catalog entry type)
    • runtime_storage_class (OS probe hint)
  • Include detection metadata in Step Summary and PR comments
  • Remove script duplication in recommend.sh

Data

  • Add database migration for future user settings storage

All features backward compatible. Tests pass. Ready for production.

### Backend Changes
- Add confidence-aware machine detection with DetectMachineWithConfidence API
  - Scoring: exact vCPU/memory match, multi-provider disambiguation, ambiguous candidate penalty
  - Returns machine + confidence (0..1) + reasoning string
  - Backward compatible: existing DetectMachine wraps the new API
- Add best-effort runtime storage-class probing on Linux
  - Reads /sys/class/block/{dev}/queue/rotational to detect SSD vs HDD
  - Gracefully handles non-Linux and unmapped volumes
- Surface detection confidence and storage hints in metrics summary
  - detected_machine_confidence, detected_machine_confidence_level (high/medium/low/unknown)
  - detected_machine_match_reason, runtime_storage_class (ssd/hdd/unknown)

### Frontend UI Improvements
- Refactor JobsPage into focused modules
  - JobsTable, SavingsBanner, SavingsChart, Pagination components
  - Shared types and utilities
- Add catalog filters for vCPU, memory, network bandwidth, and storage type
  - Dynamic option generation from loaded catalog
  - Clear button for active filters
- Show detection confidence and storage hints in Job Detail page
  - Color-coded confidence badges (high/medium/low/unknown)
  - Catalog storage type + runtime storage hint display
- Refactor AlertsPage into tab-based components for maintainability

### GitHub Action Enhancements
- Emit new outputs for detection quality
  - detected_machine_confidence (numeric 0..1)
  - detected_machine_confidence_level (high/medium/low/unknown)
  - detected_storage_type (catalog entry type)
  - runtime_storage_class (OS probe hint)
- Include detection metadata in Step Summary and PR comments
- Remove script duplication in recommend.sh

### Data
- Add database migration for future user settings storage

All features backward compatible. Tests pass.
@gbudjeakp
gbudjeakp force-pushed the feature/confidence-detection-storage-probes branch from 39eed1f to 8c3358b Compare June 26, 2026 04:36
@gbudjeakp
gbudjeakp merged commit c9c701b into main Jun 26, 2026
3 checks passed
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.

1 participant