• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

iotaledger / iota / 30505941318
70%

Build:
DEFAULT BRANCH: develop
Ran 30 Jul 2026 02:27AM UTC
Jobs 1
Files 1125
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jul 2026 01:35PM UTC coverage: 68.834% (+0.04%) from 68.792%
30505941318

push

github

web-flow
refactor(iota-rest-kv): refined logs (#12330)

# Description of change

This PR adds more refined logging to the `iota-rest-kv` crate.
Previously the service logs said almost nothing about its operations,
which made debugging difficult.

- Every incoming request is wrapped in a tracing span carrying a unique
`request_id`, the HTTP method, the matched route template, and the full
URI. The `request_id` is generated by the server (or taken from the
client's `x-request-id` header if present) and echoed back in the
response header. This makes it possible to correlate a client-reported
failure with the exact server-side log lines, which is especially handy
under high traffic since axum processes requests concurrently and their
log lines interleave.
- Each request logs one completion line with status code and latency:
`info` for success, `warn` for client errors, `error` for server errors.
`404` stays at `info` since a key miss is a normal outcome for a KV
lookup, not a client mistake.
- Bad request and internal error causes are recorded on the span's
`error` field. Clients still receive only a generic "internal server
error" for 500s; the details stay server-side.
- Handlers log the parsed request parameters at `debug` (item type, key,
number of keys, pagination options).
- Every BigTable call logs a `debug` line with table, column qualifier,
found/missing counts, and elapsed time.
- The level from `--log-level`/`LOG_LEVEL` now acts as the default of an
`EnvFilter`, so `RUST_LOG` can override it with per-module directives
(e.g. `RUST_LOG=iota_rest_kv=debug,iota_bigtable=debug,info`).
- The bumped `iota-bigtable` dependency logs transient gRPC errors at
`warn` on every retry together with the next backoff delay (previously
retries were completely silent), and logs its read/write calls at
`debug`.

> [!NOTE]
> For now we pin the commit hash, once the `iota-bigtable` PR is merged,
a new tag will be created and used in place of the commit hash.

## Links to any... (continued)

0 of 59 new or added lines in 4 files covered. (0.0%)

510 existing lines in 37 files now uncovered.

168712 of 245099 relevant lines covered (68.83%)

453638.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
42
0.0
0.0% crates/iota-rest-kv/src/server.rs
9
0.0
0.0% crates/iota-rest-kv/src/errors.rs
5
0.0
0.0% crates/iota-rest-kv/src/main.rs
3
0.0
0.0% crates/iota-rest-kv/src/bigtable.rs

Coverage Regressions

Lines Coverage ∆ File
92
86.73
1.17% crates/iota-core/src/transaction_orchestrator.rs
88
90.02
-0.66% crates/iota-protocol-config/src/lib.rs
58
81.4
1.24% crates/iota-core/src/authority_server/validator_v2.rs
46
93.7
0.0% crates/starfish/core/src/authority_service.rs
39
73.66
0.13% crates/iota-types/src/error.rs
36
96.11
0.01% crates/starfish/core/src/transactions_synchronizer.rs
14
76.53
1.05% crates/test-cluster/src/lib.rs
13
62.73
-0.64% crates/iota-json-rpc-types/src/iota_transaction.rs
10
66.55
-0.84% crates/iota-core/src/authority/authority_store.rs
10
87.31
-0.83% crates/iota-test-transaction-builder/src/lib.rs
9
98.15
0.27% crates/iota-core/src/authority_server/soft_lock.rs
8
82.46
-0.27% crates/iota-types/src/transaction.rs
8
79.31
-6.9% crates/iota-vm-sdk/src/executor/types.rs
6
83.26
0.3% crates/iota-core/src/authority.rs
6
95.11
4.1% crates/iota-core/src/transaction_driver/mod.rs
6
57.48
-0.28% crates/iota-json-rpc-types/src/iota_object.rs
6
91.85
-4.44% crates/iota-package-management/src/lib.rs
5
55.77
-9.62% crates/iota-json-rpc-types/src/iota_coin.rs
4
92.11
-1.32% crates/iota-core/src/authority/test_authority_builder.rs
4
73.2
-2.06% crates/iota-core/src/test_utils.rs
4
73.39
-0.34% crates/iota-genesis-builder/src/lib.rs
4
74.75
-0.43% crates/iota-network/src/randomness/mod.rs
4
48.12
0.0% crates/iota-sdk/src/apis/read.rs
4
93.89
-0.66% crates/iota-transaction-builder/src/lib.rs
3
87.25
-1.2% crates/iota-core/src/authority_server/mod.rs
3
91.45
-0.13% crates/iota-core/src/execution_cache/writeback_cache.rs
3
0.0
0.0% crates/iota-rest-kv/src/bigtable.rs
3
53.19
-0.64% crates/iota-types/src/storage/shared_in_memory_store.rs
3
84.21
-3.16% crates/starfish/config/src/crypto.rs
2
89.35
-0.69% crates/iota-core/src/connection_monitor.rs
2
97.18
-2.82% crates/starfish/core/src/commit_consumer.rs
2
91.66
-0.09% crates/starfish/core/src/header_synchronizer.rs
1
84.73
-0.49% crates/iota-core/src/global_state_hasher.rs
1
85.32
0.27% crates/iota-json-rpc/src/read_api.rs
1
84.96
0.0% crates/prometheus-filtered/src/lib.rs
1
94.25
-0.07% crates/starfish/core/src/authority_node.rs
1
96.86
0.09% crates/starfish/core/src/dag_state.rs
Jobs
ID Job ID Ran Files Coverage
1 nextest+simtest - 30505941318.1 30 Jul 2026 02:27AM UTC 1125
68.83
GitHub Action Run
Source Files on build 30505941318
  • Tree
  • List 1125
  • Changed 86
  • Source Changed 46
  • Coverage Changed 61
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30505941318
  • 5a2fc549 on github
  • Prev Build on develop (#30414397564)
  • Next Build on develop (#30596652036)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc