Skip to content

CI: privacy:scan is skipped on devlog-only changes, the one diff class it exists for #5468

Closed

Description

@lidge-jun

Client or integration

Other

Area

Installation or packaging

Summary

bun run privacy:scan never runs on the commits that add devlog/ content, which is the one change class where it matters most.

The scan is a step in the gates job, and gates runs only when the ci paths filter in .github/workflows/ci.yml reports a change. That allowlist covers src/, tests/, scripts/, gui/, desktop/, app/, docker/ and a handful of root files. It does not include devlog/**. A pull request that only adds devlog files therefore skips gates, and the aggregate ci check still concludes success.

AGENTS.md describes reading devlog/ as the thing that "makes a public devlog safe rather than merely visible", and the same file records that maintainer-authored security triage had to be excised from that directory before it could be published. The gate meant to catch that class is inert for exactly the diffs that introduce it.

This was found while landing #5467, which added sixteen devlog files to this public repository. Its only evidence was a hand sweep for addresses, mesh hostnames, SSH accounts and absolute user paths, because the gate did not run.

Adding devlog/** to the ci filter is the wrong fix: the surrounding comments deliberately keep prose edits from starting the cross-platform suite, and docs-site/** is already excluded for that reason. The scan needs a trigger of its own, the way the docs site got its own pull-request build gate.

Reproduction

  1. Open a pull request against dev whose only changed files are under devlog/.
  2. Read the check runs at the head commit.
  3. gates is skipped, so the Privacy scan step never executes, and the aggregate ci check is success.

Observed on #5467 at c1102e3a5cbe82bc17c19bbca5d8a4ffcfcf85a3: gates skipped, ci success.

Version

2.61.0 (dev at e4ceeb38da)

Operating system

GitHub-hosted ubuntu-latest runners

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Activity

  1. added
    bug
    on Sep 21, 2026
  2. added
    install
    on Sep 21, 2026
  3. added a commit that references this issue on Sep 23, 2026
    91adb29
  4. lidge-jun commented on Sep 23, 2026

    @lidge-jun
    OwnerAuthor

    Landed on dev in 91adb29 via #5469: a devlog-only change now runs privacy:scan through its own gate, and a ci.yml change does not run the scan twice. Merges into dev do not auto-close issues, so closing manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buginstall

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions