fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Show host's next scheduled maintenance window on the host details page

Open lukeheath opened this issue 1 year ago • 2 comments

Goal

User story
As a user on the host detail page,
I want to see a device's next scheduled maintenance window
so that I can tell whether a failing policy is scheduled to be fixed, and when.

Context

  • Requestor(s): @lukeheath
  • Product designer: @rachaelshaw

Changes

Product

Engineering

  • [ ] Database schema migrations: TODO
  • [ ] Load testing: TODO

ℹ️  Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".

QA

Risk assessment

  • Requires load testing: TODO
  • Risk level: Low / High TODO
  • Risk description: TODO

Manual testing steps

  1. Step 1
  2. Step 2
  3. Step 3

Testing notes

Confirmation

  1. [ ] Engineer (@____): Added comment to user story confirming successful completion of QA.
  2. [ ] QA (@____): Added comment to user story confirming successful completion of QA.

lukeheath avatar Apr 25 '24 21:04 lukeheath

Thanks for tracking this @lukeheath. We'll weight it at the upcoming feature fest.

noahtalerman avatar May 06 '24 14:05 noahtalerman

Estimations: BE5 FE2

sharon-fdm avatar May 15 '24 18:05 sharon-fdm

Hey @xpkoala and @jacobshandling, I'm checking out dogfood (4.54) and I can't find the new "Scheduled maintenance" window on Tom's MacBook: https://dogfood.fleetdm.com/hosts/222

Tom is failing a policy that's hooked up to maintenance windows.

Do you think there's a bug? I could be missing something.

noahtalerman avatar Jul 18 '24 16:07 noahtalerman

TODO @noahtalerman: Resolve comments in draft PR and open a new PR.

noahtalerman avatar Jul 18 '24 16:07 noahtalerman

@noahtalerman I see one on his calendar for July 15, which is in the past. This feature only shows upcoming (future) maintenance windows, so looks like it may be a bug with rescheduling past events.

jacobshandling avatar Jul 18 '24 19:07 jacobshandling

This feature only shows upcoming (future) maintenance windows, so looks like it may be a bug with rescheduling past events.

Thanks for digging @jacobshandling!

Looks like you filed the bug here (ty): https://github.com/fleetdm/fleet/issues/20618

noahtalerman avatar Jul 19 '24 19:07 noahtalerman

Thanks for catching @noahtalerman!

jacobshandling avatar Jul 19 '24 19:07 jacobshandling

API reference docs PR is here: https://github.com/fleetdm/fleet/pull/20745

noahtalerman avatar Jul 25 '24 13:07 noahtalerman

Maintenance insight, In the cloud city's soft glow, A failing policy's bow.

fleet-release avatar Jul 25 '24 22:07 fleet-release