NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::program::ProgramProviderUploadResendRequiredError Class Referencefinal

A resumed Program reached a chunked upload that cannot continue (#541). More...

#include <sqlite_provider_call_broker.h>

Inheritance diagram for neograph::program::ProgramProviderUploadResendRequiredError:
[legend]
Collaboration diagram for neograph::program::ProgramProviderUploadResendRequiredError:
[legend]

Public Member Functions

const std::string & call_id () const noexcept
 The logical call id (SQLiteProgramProviderCallJournal::logical_call_id) of the call that opened the upload.
 
const std::string & later_call_id () const noexcept
 The logical call id of the first later call of the same node that the journal holds.
 

Detailed Description

A resumed Program reached a chunked upload that cannot continue (#541).

The call that opened the upload's session is journaled, but its answer holds a value no journal stores (a Google resumable upload's session URL, which lets anyone write the file without the API key), so the journal cannot give the session back. The journal also holds a later call of the same node, a part sent into the session or one that may have been, so the upload cannot be sent from its start under the same call positions either: those positions are bound to the first session. It is raised before anything is sent, and nothing is journaled. The upload has to be sent again: from a new run, or by a node that catches this error and uploads at call ordinals the journal has not used. Inside a Core node it is NG.ConfigError: the journal would refuse the same call again, so it is never retried and never routed.

Definition at line 107 of file sqlite_provider_call_broker.h.


The documentation for this class was generated from the following file: