Running 2016 w48 stable (rPcfcc3b834d / rARCe17fe43ca3 / rPHU89984ac200).
Reproduction:
- Go to the Diffusion web UI, pick an existing repository, manage URIs
- Add a new URI to the repository (none of the options such as visibility or I/O mode seem to affect this)
Expected steps:
- Repository URI index is updated
- Searching for the new URI in diffusion.repository.search returns your repository
Actual result:
- Searching for the repository by callsign (e.g.) and requesting URI attachments shows the new URI
- Searching for the repository by URI returns no results
- No PhabricatorSearchWorker tasks are queued/executed as a result of the edit
- The repository_uri table contains the new URI, but repository_uriindex does not
- Manually calling $repo->updateURIIndex() results in the index being updated and searching succeeding
I tried to find how this should be triggered from the editor, but ran out of time before I could figure it out. Just leaving this here for now though.