Skip to content
quarry Artifact [c46bba5808]
Login

Artifact [c46bba5808]

Artifact c46bba58087da4715e687a48adfcfac59f9083889e776fe1f6540ea86985996d:

Ticket change [c46bba5808] - Closed ticket [dc748de1f0]: A partial repo.update wipes the other fields and can silently turn off sync (G-68) plus 3 other changes by zeitgeist on 2026-09-18 02:23:56.
D 2026-09-18T02:23:56.488
J icomment Both\shalves\sare\sfixed\sand\sguarded.\n\n**"Wipes\sthe\sother\sfields"**\s--\srepo.update\sno\slonger\swrites\sfields\sthe\sbody\sdid\nnot\sname.\sThe\sfirst\sfix\smade\sthe\sfields\spointers\sand\smerged\sthem\sover\sa\sread\sof\nthe\swhole\ssettings\srow,\swhich\sclosed\sthe\soriginal\shole\s(absent\sread\sas\sthe\szero\nvalue)\sbut\sleft\severy\supdate\sa\sread-modify-write\sover\severy\scolumn.\sLanded\sin\ntrunk\sat\s8cfed9ba8696:\sthe\shandler\sbuilds\sa\sRepoEdit\scarrying\sonly\sthe\snamed\nfields,\sthe\sregistrar\swrites\sonly\sthe\scolumns\sthe\spatch\ssets,\sand\sSetChat\sbecame\nconditional\s--\sit\shad\sbeen\scalled\swith\sthe\smerged\svalue\son\severy\supdate.\n\n**"Can\ssilently\sturn\soff\ssync"**\s--\stwo\sseparate\scauses,\sboth\sgone:\n\n1.\sThe\smerge\sread\sthe\sEFFECTIVE\smirrorable\s(false\sfor\sany\sprivate\srepository,\n\s\s\swhatever\sthe\sstored\sflag\ssays)\sand\swrote\sit\sback\sas\sthe\sstored\sflag,\sso\sa\n\s\s\srepository\staken\sprivate\sand\srestored\sto\spublic\scame\sback\spublic\sand\n\s\s\sunclonable.\sFixed\sseparately\sas\sG-115\sby\sreading\sthe\sstored\sflag\sfrom\n\s\s\sRepoMeta;\sthis\schange\sremoves\sthe\swrite-back\sthat\smade\sthe\swrong\sread\n\s\s\sdurable.\n2.\soltp.SetRepoAbout\swrote\shomepage\sand\stopics\sas\sone\sstatement,\sso\snaming\n\s\s\seither\srewrote\sboth.\sSplit\sinto\sSetRepoHomepage\sand\sSetRepoTopics.\n\n**Measured,\snot\sassumed.**\sEach\sguard\swas\srun\sagainst\sthe\sdefective\sshape\sand\nobserved\sto\sfail\sbefore\sbeing\skept:\n\n-\s`cmd/quarry/registrar_test.go`\s`TestUpdateWritesOnlyTheNamedColumns`\s--\sa\n\s\shomepage-only\supdate\sagainst\sa\sreal\sdatabase\sleaves\sdescription,\stopics,\n\s\svisibility\sand\smirrorable\suntouched.\sAgainst\sthe\sold\scolumn-pair\swrite\sit\n\s\sfails\swith\s`topics\s=\s"",\swant\s"forge\szit"`.\n-\s`internal/api/repoclobber_test.go`\s--\sthe\spatch\scrossing\sthe\sseam\scarries\sonly\n\s\sthe\snamed\sfields;\sa\schat-only\supdate\swrites\sno\ssettings\srow;\san\sempty\sbody\n\s\swrites\snothing.\sReintroducing\sa\ssingle\swrite-back\sfails\sall\sthree.\n-\sThe\sguard\sthat\srequired\sthe\smerge\sis\sreplaced\srather\sthan\sdeleted:\sit\n\s\sdescribed\sthe\sfirst\sfix,\sand\swriting\sonly\snamed\sfields\sis\swhat\smakes\sthe\smerge\n\s\sunnecessary.\n\nGate\son\smerged\strunk:\smake\sdocs,\sgofmt,\sgo\svet,\sgo\sbuild,\sgo\stest\s-count=1\s./...\nall\sclean.\n\n**One\scaveat,\sstated\srather\sthan\sglossed.**\sThe\sforge\sis\sstill\srunning\n3362e687ac7d;\strunk\sis\s8cfed9ba8696.\sThe\sbehaviour\schange\sreaches\szeitforge.app\non\sthe\snext\sdeploy,\sso\sthis\sis\sclosed\son\slanded-and-guarded\sevidence,\snot\son\sa\nproduction\smeasurement.\sThe\sconcurrent-writer\scase\scannot\sbe\sreproduced\sagainst\na\stest\sdouble\s--\sit\sneeds\stwo\sreal\sadmins\s--\sso\sif\sit\sis\sseen\sagain\safter\sthe\ndeploy,\sreopen\sand\ssay\sso.\n\nRelated:\sthe\ssettings\strail\sthat\swas\sthe\sonly\sevidence\sof\sthe\soriginal\sincident\nis\sa\s24-hour\stail\swith\sno\sfield\sname\sand\sno\sbefore\svalue.\sA\sdurable\sfield-level\naudit\slog\sis\sproposed\sin\s824a61b3.\n
J mimetype text/x-markdown
J resolution Fixed
J status Closed
K dc748de1f05915ad02c37fcff6495ce3f359747d
U zeitgeist
Z 4aa441a2895e9efa83f619241316f96b