Commit Graph

19 Commits

Author SHA1 Message Date
Fang
514c54b46e
docket: change chad to %hung if glob watch fails 2021-09-21 19:28:52 +02:00
Fang
b41aaf8f10
docket: stop eating fresh globs and their hashes
When we uploaded a glob we hosted, we'd write a new docket to clay,
triggering a %commit.
The handling of this would:
- fail to update the docket in state,
- and discard our new glob, because the docket had changed.

Here we properly update the docket mirror in state, and make sure to
keep the glob around if its hash lines up.
2021-09-21 18:19:38 +02:00
Fang
75cc6aa28a
docket: add explicit hash to http globs 2021-09-21 17:52:45 +02:00
Fang
f1bb35fcee
docket: update docket file's glob hash on upload
If the docket says the glob is a local ames glob, then update the hash
to match the newly uploaded glob.

One would naively expect this to result in a %commit fact being
received, letting us update our state through the usual mechanism.
This is, for some reason, not the case...
2021-09-21 17:42:45 +02:00
Fang
4e453a9051
docket: hash-based glob-ames, handle within app
Instead of going through the thread. This works around a mark
definition issue and lets the docket file be more precise about
version selection. (Though older globs likely won't be kept around.)
2021-09-21 16:18:41 +02:00
Fang
976a071e5c
docket: stub out only glob _data_ in dbug state
And make it (hopefully) more obvious that it's getting stubbed out.
2021-09-21 16:17:53 +02:00
Fang
da28fbfed9
Merge dist into m/distpilled 2021-09-20 19:35:51 +02:00
Fang
5cf8e5a484
docket: account for new kiln fact mark 2021-09-20 19:30:26 +02:00
fang
5afa9f4974
Merge pull request #5220 from urbit/m/dist-glob-upload-docs
dist: docket: improve upload page
2021-09-20 19:16:48 +02:00
Liam Fitzgerald
1d94d08d60 garden: rework hark-store timeboxing 2021-09-17 10:44:35 +10:00
Fang
b23d9d7002
docket: loosen restrictions on glob uploads
Now also lets you upload globs that the local ship isn't the canonical
source for. Could come in handy for troubleshooting, among other things.
2021-09-14 23:29:07 +02:00
Fang
177ef73d37
docket: improve upload page
Most notably, we further restrict the desks eligible for glob upload
to just the ones whose glob is said to be hosted on the local ship.

On the upload page, we replace the desk input field with a dropdown
from which eligible desks can be selected.
Additionally we now display some instructions, instead of leaving
developers entirely on their own.
2021-09-14 16:38:20 +02:00
Ted Blackman
83be5162ed docket: manual merge of @Fang- web glob upload 2021-09-06 22:37:13 +03:00
Ted Blackman
18019b3eb4 minor cleanups 2021-09-06 21:59:24 +03:00
ryjm
ad8f6f681e docket: download globs over ames
Kind of a pain to test, need a better way to insert a `charge` directly.
Either that or rework `chad`, but I don't entirely understand why the
`chad` lifecycle is the way it is.
2021-09-01 02:22:54 -04:00
Liam Fitzgerald
7cc12bb867 grid: use kiln diffs for update notifs 2021-08-26 10:45:42 +10:00
Liam Fitzgerald
c4bf395f5f docket: fix dockets not updating 2021-08-23 14:10:22 +10:00
Liam Fitzgerald
52fb35227d docket: react to suspension & revival 2021-08-23 13:32:22 +10:00
Liam Fitzgerald
86dc350cda grid: rename backend to garden 2021-08-23 11:51:50 +10:00