Following Delivery And Operation
Once the solution document is approved, the developers build and the platform staff provision. You do not have to follow every pipeline, but you should know what happens, what you may be asked to decide, what "done" means and how to see that the integration works in production. This page is that view.
What Happens After Approval
| What happens | What you see | What you may be asked |
|---|---|---|
| The work is split into issues, and an issue can be broken into small, self-contained pieces that a developer or Kloker finishes in one go | Issues in GitLab, linked to the solution | To prioritise, or to answer a question in an issue |
| Datamodels are created or changed | A merge request in the datamodel's repository | To check that the business rules are in the model's documentation |
| Legs are built, each with its documentation, and the solution document is updated as they land | Merge requests in the integration projects and in the registry | To check behaviour that the business owns, such as how an edge case is handled |
| Topics and access are requested | Requests in klok.dev under Broker → Requests | To approve them, if you are the domain's or the tenant's admin |
| Secrets, the service's identity and its deployment manifest are set up | Nothing in klok.dev; the platform staff do it | Nothing |
| Merge requests are merged and released | Merged merge requests; services deployed by their pipelines | To confirm that a release can go out, when the business has a window |
Decisions That Are Yours
- Priorities. Which flow comes first, and what can wait.
- Accepted risk. A tactical decision in the solution document is a cost the business accepts. If the cost changes while the work goes on, the decision comes back to you.
- Sharing information. Another domain or another organisation reads your information only with a
consumegrant on one topic, approved by the owner of the topic. If you are the domain's admin, approving that request in klok.dev is your decision; read who asks and why before you approve. - Service levels. When an assumed service level turns out to be too expensive or impossible, the business decides what to accept instead.
- Acceptance. Whether the result does what the need asked for.
Why Things Wait
A merge only starts a pipeline. What a later step needs is the pipeline's result, so delivery has waiting points that are normal, not delays:
- A new datamodel can be used by the legs once its version is in the dependency catalog.
- A topic or a grant can be used once its request is applied on the broker.
- A service is in production once its pipeline has updated its deployment manifest in the tenant's manifests repository and Argo CD has rolled it out.
Pipelines on main may run in parallel, and a release that waits for an external registry can take a while. A running
job is never cancelled without a person's decision.
When Is It Done
An integration is done when all of this holds:
- [ ] Every leg in the solution document is on
mainand deployed, and no leg is markedplannedany more. - [ ] The service starts without missing topics or grants, and its messages flow.
- [ ] Nothing lands among the dead letters in normal operation.
- [ ] Each business transaction can be followed from start to end by its correlation id.
- [ ] The documentation on docs.klok.dev and the integration context in klok.dev show the legs the solution document names.
- [ ] The business has checked the result with real cases, including the edge cases named in the need.
- [ ] Every open question is answered, or has an owner and is tracked as an issue.
Following It In Production
| You want to know | Where |
|---|---|
| Whether a particular business transaction went through, and where it stopped if not | Run → Logs: search the correlation id and open the transaction to see every route's events, from start to end (Logs). klok.dev follows tenant klok's log events today; other tenants' flows are frontend-klok-dev#51, and a chain's status per tenant is frontend-klok-dev#76. A flow that runs as a task has its run on Run → Process runs, where the Runs tab filters by correlation id |
| Whether the services are up | klok.dev, Run → Repositories, shows what is deployed and from which commit, but no workload health in production yet (klok-environment-setup#34). Broker → Health lists the backlogs that no consumer reads, which is what a stopped service leaves behind |
| Whether messages are piling up or failing | klok.dev, Run → Broker: the backlog and the dead letters of each topic |
| Whether a long-running task finished | klok.dev, Run → Process runs: failed, partial, stale and overdue runs are on top |
Log events are indexed for tenant klok's services today; another tenant's services publish them, but nothing reads them yet (Onboarding A Tenant, section New Integration Project).
What the operational words mean for the business:
- A retry is the platform trying a delivery again after a temporary failure, such as a target system that was briefly down. Retries are automatic and need nobody.
- A dead letter is a message that could not be delivered after its retries. It is kept, not lost: someone finds out why (wrong data, a rejected value, a system that stays down), fixes the cause and sends it again.
- A failure event is the platform's standard notice that something failed; operations follow these rather than reading logs.
The technical side is in Monitoring And Runtime Health and Retries, DLQ, And Failure Events.
Asking For A Change
A change to a running integration takes the same way as the first delivery, starting from its solution:
- Find the solution. Its id is the first part of every route id, and its document is in the registry.
- Write what should change and why, as a change request: New change request on Build → Changes in klok.dev, or an
issue labelled
change-requestin the registry. Its page in klok.dev shows where the change stands until it is done (Changes and work). - The architect checks the solution document against the code, updates the design, and states what the change affects; an impact analysis lists the integrations a datamodel change reaches.
- The change is built, reviewed and released like the first delivery, and the solution document describes the new state when it lands.
A change to the information itself follows its datamodel's rules: a new optional field reaches every reader without breaking any, while a change that breaks the contract becomes a new version that runs alongside the old one until every reader has moved. See From Business Need To Information Needs.