Page MenuHomePhabricator

Fix an issue where non-ID changeset state keys were used as changeset IDs
ClosedPublic

Authored by epriestley on May 4 2020, 11:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 1, 10:33 AM
Unknown Object (File)
Jun 25 2026, 7:01 AM
Unknown Object (File)
Jun 25 2026, 7:00 AM
Unknown Object (File)
Jun 25 2026, 1:55 AM
Unknown Object (File)
Jun 23 2026, 12:03 AM
Unknown Object (File)
Jun 12 2026, 9:44 AM
Unknown Object (File)
Apr 2 2026, 12:07 AM
Unknown Object (File)
Mar 28 2026, 2:31 PM
Subscribers
None

Details

Summary

Ref T13519. This is a little fuzzy, but I think the workflow here is:

  • View an intradiff, generating an ephemeral comparison changeset with no changeset ID. This produces a state key of "*".
  • Apply "hidden" state changes to the changeset.
  • View some other intradiff and/or diff view.
  • The code attempts to use "*" as a changset ID?

I'm not entirely sure this is accurate; this was observed in production and I couldn't get a clean reproduction case locally.

Optimistically, try making changeset IDs explicit rather than relying on state keys to be "usually changeset-ID-like".

Test Plan

Used "hidden" locally across multiple intradiffs, but I wasn't cleanly able to reproduce the initial issue.

Diff Detail

Repository
rP Phabricator
Branch
changeset1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24361
Build 33560: Run Core Tests
Build 33559: arc lint + arc unit