fleet/orbit/changes
Victor Lyuboslavsky 8f0800a185
Improved orbit debug logs when response contains a large HTML page. (#33195)
Resolves #33219

Note: this only fixes orbit. The issue remains on osquery:
[#33019](https://github.com/fleetdm/fleet/issues/33019)

# Checklist for submitter

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

## Testing

- [x] Added/updated automated tests
- [x] QA'd all new/changed functionality manually

## fleetd/orbit/Fleet Desktop

- [x] Verified compatibility with the latest released version of Fleet
(see [Must
rule](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/workflows/fleetd-development-and-release-strategy.md))
- [x] Verified that fleetd runs on macOS, Linux and Windows
- [x] Verified auto-update works from the released version of component
to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- Bug Fixes
  - Improved error messages when servers return HTML instead of JSON.
- Truncates oversized responses in logs to prevent overwhelming output
while preserving context.
  - More robust parsing of non-JSON error responses.

- Documentation
- Added changelog entry noting enhanced debug logging for large HTML
responses.

- Tests
- Added tests covering HTML, plain text, empty, long, and invalid JSON
error bodies to validate error message handling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-19 17:00:19 -05:00
..
.keep Add 'orbit/' from commit 'ab3047bb39f1e2be331d1ff18b4eb768619033c4' 2021-08-04 16:58:25 -03:00
19043-ubuntu-wayland-browser-snap pkg/open: fix launching browser in some scenarios (#30608) 2025-09-15 09:53:04 -05:00
31917-setup-experience-software-retries Added support for retry logic in setup experience software installations. (#32823) 2025-09-16 12:26:14 -05:00
32053-linux-setup-experience-agent Patches for Linux Setup Experience agent (#32655) 2025-09-05 12:46:34 -04:00
32112-revert-to-sudo Fix orbit process launch issues that can hit /proc/keys limits (#32309) 2025-08-28 09:20:32 -05:00
32280-duplicate-desktop-osqueryd When building Linux and macOS fleetd packages, removed duplicate copies of osqueryd and fleet-desktop (#32697) 2025-09-09 17:13:30 -05:00
32393-httpsig-go Updated httpsig-go library to 1.2.0 and removed vendored version. (#32426) 2025-08-28 14:28:30 -05:00
32514-orbit-shell-ignores-updates-disabled Orbit shell no longer ignores disable-updates (#32698) 2025-09-09 15:22:21 -04:00
32544-windows-setup-experience-agent Add support for Windows setup experience software (#33134) 2025-09-18 16:39:15 -03:00
32695-duplicate-macOS-hosts Fixed duplicate enrolled macOS UUIDs/SNs (#32769) 2025-09-12 15:02:24 -05:00
32756-add-opensuse-detection-logic Fix emoji rendering issue in Fleet Desktop on OpenSUSE (#32756) 2025-09-10 13:04:13 -05:00
32860-arch-linux-pacman-osquery-table Add fleetd_pacman_packages table for arch linux (#33139) 2025-09-19 10:26:23 -04:00
33019-html-in-orbit-logs Improved orbit debug logs when response contains a large HTML page. (#33195) 2025-09-19 17:00:19 -05:00
update-go-1.25.1 Updated go to 1.25.1 (#32833) 2025-09-11 18:31:39 -05:00