fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3k stars 416 forks source link

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

Closed lukeheath closed 2 months ago

lukeheath commented 5 months ago

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

Changes

Product

Engineering

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

QA

Risk assessment

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.
noahtalerman commented 5 months ago

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

sharon-fdm commented 4 months ago

Estimations: BE5 FE2

noahtalerman commented 2 months ago

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 commented 2 months ago

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

jacobshandling commented 2 months ago

@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.

noahtalerman commented 2 months ago

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

jacobshandling commented 2 months ago

Thanks for catching @noahtalerman!

noahtalerman commented 2 months ago

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

fleet-release commented 2 months ago

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