Commit Graph

13551 Commits

Author SHA1 Message Date
yosoyubik
e366e55dbc ames: add global daily timer for pending corks
WIP compiles and upgrades, and the timer gets properly reset
but untested for actual re-subscriptions with old publishers
2022-07-06 17:00:35 +02:00
yosoyubik
608aba2a87 gall: handle subscriber-side %cork
this also enables increasing sub-nonces for every new subscription
TODO: create one global cork timer for all peers
2022-07-06 14:44:20 +02:00
yosoyubik
f3a60aef14 gall: don't send %cork when leaving a subscription
This is a temporary fix, and first part of the gall-request-queue-fix
release in two stages. This gives a publisher ship the ability to
understand a %cork and handle it properly, but no subscriber will
be sending %corks at this stage when leaving a subscription.

We still add a nonce to all subscription wires but it doesn't
increment it when resubscribing, allowing flows to be reused.

Tested locally with toy pub/sub agents and Group join/leaving
2022-07-06 10:59:08 +02:00
yosoyubik
76919ce07c ames: resend %cork after a naxplanation in one day 2022-07-06 10:52:19 +02:00
yosoyubik
850de0bfd3 Revert "gall: run +ap-kill-down on +molt"
This reverts commit 2107240962.
2022-07-06 09:12:30 +02:00
yosoyubik
675cf45171 Revert "gall: run +ap-kill-down only once"
This reverts commit cb5893ac05.
2022-07-06 09:12:10 +02:00
yosoyubik
3560f6b7e3 Revert "gall: fix condition to run +ap-kill-down"
This reverts commit e5c86886e4.
2022-07-06 09:11:22 +02:00
yosoyubik
ea4a31558f ames: ack last fragment from closing bone 2022-07-01 09:59:24 +02:00
yosoyubik
e5c86886e4 gall: fix condition to run +ap-kill-down 2022-06-30 17:44:11 +02:00
yosoyubik
a967b42c30 ames: print bone if "hear last in-progress" 2022-06-30 17:12:07 +02:00
yosoyubik
cb5893ac05 gall: run +ap-kill-down only once 2022-06-30 17:06:22 +02:00
yosoyubik
2107240962 gall: run +ap-kill-down on +molt 2022-06-30 15:57:02 +02:00
yosoyubik
b0766c2f53 ames: remove misleading trace printf 2022-06-30 10:46:02 +02:00
yosoyubik
27ac0b601e ames: use %$ as recipient vane for %corks 2022-06-30 10:18:37 +02:00
yosoyubik
17d52b8535 ames: handle bounce %cork from old publisher
Because the publisher will send the cork plea back to the subscriber on
the next bone, we are not able to know the bone for the original cork.
To handle it, we add the cork bone to the plea path

still wip: it keeps resending the cork plea faster than its ~h1 timer
2022-06-28 12:48:07 +02:00
yosoyubik
070d0a7d4b Merge branch 'jb/behn-fix1' into yu/gall-rq-wire-ames-flow-kill 2022-06-28 10:47:50 +02:00
yosoyubik
7de9c72f36 ames: add rift when inserting new peer state 2022-06-27 13:55:07 +02:00
Joe Bryan
244961ed39 test: removes debugging comments from %behn unit tests 2022-06-17 22:24:24 -04:00
Joe Bryan
6b99b154d6 behn: cleans up comments 2022-06-17 22:20:16 -04:00
Joe Bryan
1b6d4f0fc5 behn: refactor to use +abet pattern 2022-06-17 10:27:27 -04:00
Joe Bryan
5482d3ff93 behn: emit %doze on any rescheduling of the next timer 2022-06-17 10:27:27 -04:00
Joe Bryan
bf8114a29d behn: don't compare pending timers to now 2022-06-17 10:27:27 -04:00
Joe Bryan
1843df6cde behn: unconditionally clear runtime timer state on %wake 2022-06-17 10:27:27 -04:00
Joe Bryan
5e867610ec behn: adds (failing) tests 2022-06-17 10:27:23 -04:00
yosoyubik
2e92331a0b Merge branch 'next/arvo' into yu/gall-rq-wire-ames-flow-kill 2022-06-16 08:54:24 +02:00
fang
094396a26a
Merge branch 'master' into next/arvo 2022-06-15 18:29:14 +02:00
fang
df82167111
Merge pull request #5840 from dnmfarrell/dnmfarrell/arvo-dojo-check-dir-exists-before-switch
dojo: check =dir exists before switching
2022-06-14 16:26:01 +02:00
David Farrell
d8f34e8930 dojo: remove unnecessary debug output
The tip already communicates to the user that dojo is busy, so the
sigpam output isn't needed anymore.
2022-06-13 21:00:46 -04:00
David Farrell
d439b33cc9 dojo: say how to beat the %dy-edit-busy escape room
It's too easy to get trapped in the dojo %dy-edit-busy escape room. Just
type something like:

  -build-file /=base/gen/ls/hoon

This modifies the dojo output to tell the user how to get out.

Fixes #1462.
2022-06-13 21:00:21 -04:00
David Farrell
3a10b4d8f3 dojo: simplify dir not exist error message build
Incorporates @Fang- suggested changes (thanks!).

Drops the path serialization as it will print on two separate lines,
and it is already displayed in dojo immediately above the error message:

    > =dir /=base=/ge
    dojo: dir does not exist
2022-06-13 20:37:55 -04:00
David Farrell
73c1c94ea8 dojo: have dojo check =dir exists before switching
Scries clay for a list of files beneath the provided path - if the response
is nil then the dir must not exist (clay abhors a vacuum).

Fixes #1559
2022-06-13 20:37:49 -04:00
janeway-bot
f777e009ad groups: update glob (0v4.2se6m.fvv67.nn5e8.vfrv9.mmi88)[skip actions] 2022-06-13 16:59:14 -07:00
Hunter Miller
48c25cb9bc groups: updating package lock 2022-06-13 17:20:39 -05:00
Hunter Miller
8250a30ad5 groups: updating nvmrc 2022-06-13 15:28:35 -05:00
Patrick O'Sullivan
b6b6655149 Fix webpack, build dependency issues 2022-06-13 12:53:45 -05:00
Hunter Miller
5b6a2d5625 compat: fixing react-codemirror2 deps 2022-06-03 17:57:53 -05:00
Hunter Miller
d31b2bd853 compat: updating to latest sigil-js for react 2022-06-03 16:56:33 -05:00
Hunter Miller
39488a3167 compat: updating indigo, and removing unused deps 2022-06-03 16:34:43 -05:00
Hunter Miller
db709df178 meta: fixing react version issue 2022-06-03 11:26:41 -05:00
Hunter Miller
8c0d0a6f5b Merge branch 'master' into next/groups 2022-06-03 10:49:33 -05:00
Joe Bryan
182e8ab214 vere: bumps version to v1.9 2022-06-01 03:24:50 -04:00
Joe Bryan
39b4488101 vere: removes extra ctype.h include 2022-05-31 17:32:03 -04:00
Joe Bryan
e3ea3c85b0 vere: bumps version to 1.9-rc6 2022-05-31 16:54:23 -04:00
Joe Bryan
c0011ea102 Merge branch 'jb/next' into jb/next-rc
* jb/next:
  vere: disable printfs on failed requests to $version/next
  vere: create $pier/.bin/pace automatically
  build: factor out reusable workflow, call on push and tag creation
  vere: trim trailing whitespace from pace file
  build: use gh action artifact to propagate version string
  build: fix version path for windows pre-release
  build: fix bash conditional in pre-release upload check
  build: run on appropriate tags
  build: cut pre-releases on appropriate tags
2022-05-31 16:53:03 -04:00
Joe Bryan
8b8612604c Merge branch 'next/vere' into jb/next-rc
* next/vere:
  vere: fixes -X scry/export (broken in previous refactoring)
2022-05-31 16:46:31 -04:00
Joe Bryan
534999844a vere: disable printfs on failed requests to $version/next 2022-05-31 14:42:57 -04:00
Joe Bryan
082f07474d vere: create $pier/.bin/pace automatically 2022-05-31 12:04:16 -04:00
Joe Bryan
45e3609da7 vere: trim trailing whitespace from pace file 2022-05-31 12:03:19 -04:00
Joe Bryan
c2d9d88558 vere: fixes -X scry/export (broken in previous refactoring) 2022-05-31 11:05:42 -04:00
fang
ac90c2a602
Merge pull request #5812 from urbit/m/eof-syntax-error
clay: render syntax errors at end of file
2022-05-31 16:58:46 +02:00