Review before applying
Compare actual behavior with the expected result. If a check fails, investigate it before applying more changes.
Follow one request across its boundaries. RezaWorks keeps middleware, response behavior and tracing details close enough to examine together.
const requestId = validateId(header) ?? newId();
context.requestId = requestId;
response.setHeader('X-Request-Id', requestId);
return next(context);Compare actual behavior with the expected result. If a check fails, investigate it before applying more changes.
Base URL, credentials and a reachable server.
Validate incoming identifiers and ensure nested calls keep the same tracing context.
const requestId = validateId(header) ?? newId();
context.requestId = requestId;
response.setHeader('X-Request-Id', requestId);
return next(context);