Skip to content

v7.205.27

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:49
d414332

Redact credentials in issue-tracer receipts

Security

  • Redact credentials before writing issue-tracer review, reproduction, recurrence, merge-approval, and branch-freshness receipts to disk. Issue identifiers, commit identities, and structured gate decisions remain intact.

  • The shared evidence redactor also recognizes credential assignments in colon-separated diagnostic text. Similar free-text status segments may be masked. Existing receipts are left as stored.

  • Branch freshness receipts redact credentials in fetch-failure reasons and user overrides. Whitespace introduced while redacting a reason is replaced with underscores so the status keeps its existing format. The denial message uses the sanitized reason.

  • Review existing issue-tracer receipts under .swarm/ locally if they may contain credentials. Rotate any exposed credentials and remove stale receipts through your normal retention process.


Windows closed DB handle release and post-commit transaction isolation (#3932)

What

Two follow-up fixes from PR #3931 (#3889, #3900):

  • Windows closed project DB lock (EBUSY) during lane teardown: closeProjectDb (src/db/project-db.ts) now closes SQLite connections via strict db.close(true) with a bounded GC-assisted retry fallback (collectGarbageBestEffort), and triggers one best-effort GC pass after dropping cache references on Windows so evicted db.query and unfinalized db.prepare statements do not keep .swarm/swarm.db locked on immediate close-then-remove teardown. Worktree removal (src/worktree/core.ts) and .git-less remnant reclamation (src/worktree/ownership.ts) also trigger collectGarbageBestEffort before retrying Windows EBUSY/EPERM lock errors.
  • Post-commit transaction errors never misreport a durable commit as rolled back: once COMMIT succeeds, withImmediateTransaction (src/db/durability.ts) releases transaction ownership immediately and isolates the post-commit PRAGMA synchronous = NORMAL restore and the afterOuterCommit hook. A failure in either step no longer throws an error indistinguishable from a rollback: the committed value is returned and the failure is logged as an always-visible CRITICAL-WARN line. Pre-commit failures still roll back and throw the original error, and a failed PRAGMA synchronous restore on that rollback path is now logged the same way instead of being dropped.