for #31282 # Details This PR adds the ability to filter hosts by the "incompatible with batch script" status. These hosts were previously included in the "Error" state for a batch script when viewing the script summary. The current script summary modal doesn't include a row for incompatible (this modal will be replaced in the next iteration of the batch script scheduling feature). To see the filter at work, you can either use the API directly, or: 1. View the summary modal for a batch script by clicking on its activity item in the global feed 2. Click on the number in any row (e.g. "Error" or "Pending") 3. Change the dropdown beneath the team selector to "Incompatible" <img width="472" height="339" alt="image" src="https://github.com/user-attachments/assets/04c6bc05-fe88-4be3-91ca-8b7162e1c6f3" /> Also renamed `cancelled` to `canceled` in a couple places to make the spelling consistent. # Checklist for submitter If some of the following don't apply, delete the relevant line. - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [X] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements) ## Testing - [X] Added/updated automated tests - [X] Where appropriate, [automated tests simulate multiple hosts and test for host isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing) (updates to one hosts's records do not affect another) - [X] QA'd all new/changed functionality manually