8000 Like 'Repeat', except asynchronous; mainly for databases and HTTP req/re... by kenhkan · Pull Request #38 · noflo/noflo · GitHub
[go: up one dir, main page]

Skip to content

Like 'Repeat', except asynchronous; mainly for databases and HTTP req/re... - #38

Merged
bergie merged 1 commit into
noflo:masterfrom
kenhkan:repeat_async
Aug 2, 2012
Merged

bergie merged 1 commit into
noflo:masterfrom
kenhkan:repeat_async

Conversation

@kenhkan
@kenhkan kenhkan commented Aug 1, 2012
Copy link
Copy Markdown
Contributor

The Repeat component is great for testing! Here's the async version of it.

bergie added a commit that referenced this pull request Aug 2, 2012
Like 'Repeat', except asynchronous; mainly for databases and HTTP req/re...
@bergie
bergie merged commit 5f4fcfa into noflo:master Aug 2, 2012
bergie added a commit that referenced this pull request Oct 10, 2026
…cumented

The SPEC.md lockstep rule: no wire-format change lands without its
counterpart in both documents. This update brings SPEC.md to parity with
the freeze-readiness wire surface (work document #4 updates #24–#38):

- §4: the auth response carries runtime metadata and the advertised
  capability ceiling alongside the granted mask (the external review's
  allCapabilities vs capabilities distinction)
- §5: the plane addressing model (nil = main, client-minted ephemera,
  node-anchored subgraph instances), the plane lifecycle matrix, and the
  new commands 0x15 PLANE_DROP, 0x16 PLANE_LIST, 0x17 OP_REJECTED
- §6: 0x26 CMD_COMP_SOURCE (the read counterpart of 0x25), and the
  signature carries description/icon/values/default
- §7: the 0x32 chunk gains plane_id; the DATA event payload envelope
  [src, tgt, value] maps the event stream onto the frame-1 topology;
  connection framing events (0x0b/0x0c)
- §8: 0x40 gains an optional plane_id for ephemeral plane START; 0x47
  CMD_PACKET_SEND and 0x48 CMD_GET_STATUS
- §12 (new): deliberate omissions with reasons — multi-graph (replaced
  by the plane model), remote-subgraph packets (planned, post-0x47),
  network:persist (superseded by CRDT convergence), schema URIs (pending
  end-to-end design), stack traces, previewurl
AsherBond pushed a commit to AsherBond/noflo that referenced this pull request Oct 12, 2026
…ons/checkout-v2.3.4

Bump actions/checkout from v2.3.3 to v2.3.4
AsherBond pushed a commit to AsherBond/noflo that referenced this pull request Oct 14, 2026
Implements the additive wire changes decided in work document noflo#4 updates
noflo#24-noflo#38, in the codec layer:

- Plane addressing: 0x10/0x11/0x12/0x14 gain a nil-defaulted plane_id —
  one plane per graph instance (main, node-anchored subgraph instances,
  client-minted ephemera); the sync handshake replies name the plane and
  epoch so clients learn what they are synced to
- New graph-block commands: 0x15 CMD_PLANE_DROP (one-command ephemeral
  teardown; the main plane is not droppable), 0x16 CMD_PLANE_LIST (the
  plane tree: plane_id, kind, parent, node id, component name, label),
  0x17 CMD_OP_REJECTED (the runtime's explicit no — permission denials
  per plane and structural rejections alike, carrying the op identity
  triple so clients revert their mirrors and convergence holds)
- Registry: 0x26 CMD_COMP_SOURCE (the read counterpart of 0x25), and the
  signature carries component description + icon — decided before the
  sig_hash freeze so the canonical bytes settle once
- Execution: 0x47 CMD_PACKET_SEND (plane-addressed input injection —
  interactive use, remote fbp-spec cases, and the runtime-as-remote-
  component pattern) and 0x48 CMD_GET_STATUS (run state, uptime, epoch,
  and the advertised capability ceiling — the getstatus equivalent,
  answered to late subscribers)
- Auth response (0x02) carries runtime metadata (kind, label, version —
  the runtime:runtime equivalent) and the advertised mask alongside the
  granted one, so clients tell permission denials from unsupported
  features
- Signature fields kept in lockstep with the publish-time manifest:
  InPort gains validated values/default options (declared in 1.x
  heritage, never validated), @noflo/manifest harvests them, the wire
  PortInfo carries them; the host catalog uses the InPort control option
  directly and harvests description/icon

AsyncAPI channels, schemas, and machine-verified wire examples for every
new command; the decode dispatch covers the full surface. The envelope,
connection events, and the runtime's plane registry land in the next
commits of this wave.
AsherBond pushed a commit to AsherBond/noflo that referenced this pull request Oct 14, 2026
The 0x32 chunk frame gains a plane_id at position 2 — [0x32, sub_id,
plane_id, base_timestamp_ms, events] — attributing each chunk to the
graph instance it was recorded on (nil = main). The frugal-path
attribution rule: compact ids per event, never names (update noflo#32).
DATA/BEGIN_GROUP/END_GROUP/CONNECTION event payloads carry the
positional envelope [src, tgt, value] — src/tgt as [node_id, port,
index?] refs using the graph model entity ids the 0x14 ops use, so
consumers join events against the frame-1 topology without name
resolution. The plane_id anchors the tree position through the 0x16
parent chain, so no subgraph path arrays travel per event.

EVENT_TYPE gains CONNECTION_OPEN (0x0b) and CONNECTION_CLOSE (0x0c) —
the framing 1.x UIs animate edge activity with.

The trace file projection (assembleTraceFileFromRecorder) now folds the
recorder's metadata into the DATA envelope instead of dropping it, and
carries the plane id. Recording completeness stays a per-runtime policy
(update noflo
8000
#38): full on capable hosts, transmission- and memory-driven on
constrained ones.

AsyncAPI flowtraceChunk and traceFile examples regenerated through the
real codecs.
bergie added a commit that referenced this pull request Oct 17, 2026
…e 1)

The point-by-point response to Morrison's FBP-vs-FBP-inspired critique
and the classical concept definitions, against the 2.x implementation:
the four litmus pillars (asynchronism, selective receive, back pressure,
IP ownership and lifetime) all met on the data plane and the network
model; the honest deviations documented (the single-threaded substrate,
the activation model vs independent call stacks, and the deliberate
extensions: scopes, subgraph planes, the Web Streams substrate, the FBP
Protocol). Each section names the implementation source that settles it,
so later changes re-open the section rather than the whole document.
AsherBond pushed a commit to AsherBond/noflo that referenced this pull request Oct 19, 2026
…ent engine

Substantial engine work has landed since the document's open items were
written (the firing model noflo#47, the scoped liveness noflo#45, bounded edges
noflo#38, the deterministic closing noflo#45/noflo#46) — this verification pass checks
whether each is still open, against the current engine:

- The two skipped fanout-clone-drop tests un-skipped and run: BOTH
  SHAPES STILL HANG at their timeout — the sequential multi-message
  clone-drop is real and current. Re-skipped with the fresh evidence;
  the buffer-lifecycle fix remains the document's central open item
- The adapter bracket correlation: VERIFIED WORKING — the spec pins the
  end-to-end shape the jekyll pipeline sidestepped (concurrent scoped
  messages with bracketed inner streams pair per message, and the
  closedown completes on the boundary disconnect). The 'cleaner end
  state' gap from work document noflo#35 update noflo#6 is closed by the engine
  work; this spec is now the green pin, not a gap report
- The bare-class loader finding: verified still open — the registered
  bare class throws 'cannot be invoked without new' (the message names
  the class); the spec pins the current behavior for the fix to flip
- The wrapAssembly subgraph capability: verified still open — a graph
  definition skips with asAssembly's rejection (the observable reason
  the capability gap carries today)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0