Skip to content

v1.6.6

Choose a tag to compare

@github-actions github-actions released this 31 May 04:01
· 21 commits to main since this release

pollen v1.6.6

A tiny CI hygiene patch. No production code change, no
user-facing behavior change.

v1.6.4 shipped disk persistence for OAuth tokens with three
regression tests that verified the on-disk file ended up
with the requested POSIX file mode bits (0o600 for the
token store and SaveJSONSecure, 0o644 for the existing
SaveJSON). Those tests assumed POSIX semantics — which
they do hold on Linux and macOS. On Windows, however, file
permissions are ACL-based and Go's os.WriteFile reports
the resulting mode as 0o666 regardless of the requested
mode. Every windows-latest matrix job in pollen's CI has
therefore failed since v1.6.4, leaving the main branch CI
red for two releases.

The three tests are now guarded with runtime.GOOS == "windows"
skip so the Windows matrix passes again without removing
the POSIX coverage. Linux and macOS jobs continue to verify
that SaveJSON and SaveJSONSecure honour 0o644 and 0o600
respectively. The underlying production code is unchanged —
it was correct all along.

Fixed:

  • POSIX file-mode regression tests now skip on Windows
    instead of asserting 0o600 / 0o644 against the ACL-based
    result. GitHub Actions CI returns to green on all six
    matrix jobs (ubuntu-latest, macos-latest, windows-latest
    × Go 1.21, stable)

Notes:

  • No production code changed. Windows file protection is
    still provided by the default ACL on the user's config
    directory; pollen does not configure ACLs explicitly
  • v1.x SemVer surface unchanged. No settings, key bindings,
    or persistence formats changed

See CHANGELOG.md for the full list.