Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
654021a
Add event log v2 format with JSON canonical digest (RFC 8785)
kvinwang Apr 16, 2026
660e0e3
refactor: use EventLogVersion enum instead of raw u32
kvinwang Apr 16, 2026
32241ad
fix: reject unknown event_log_version values instead of silent fallback
kvinwang Apr 16, 2026
4cf928c
fix: address CI failures and PR review comments
kvinwang Apr 16, 2026
96ce9d4
test: add mixed v1/v2 replay and scale round-trip tests
kvinwang Apr 16, 2026
f553c11
chore: remove accidentally committed worktree
kvinwang Apr 16, 2026
2b31c5d
refactor: use BTreeMap for canonical JSON key ordering
kvinwang Apr 16, 2026
4712710
chore: gitignore worktrees directory
kvinwang Apr 16, 2026
9e761b8
refactor: use serde_jcs for RFC 8785 compliant canonical JSON
kvinwang Apr 16, 2026
3320eb2
fix: serialize version in RuntimeEvent for attestation roundtrip
kvinwang Apr 16, 2026
d88d2c6
refactor: use single event_type for both v1 and v2
kvinwang Apr 16, 2026
4dee4bb
test: add comprehensive canonical JSON tests for RFC 8785 compliance
kvinwang Apr 16, 2026
796683b
feat: add include_hash_inputs parameter to GetQuote and Attest RPCs
kvinwang Apr 16, 2026
374f3d3
fix: resolve CI failures from new v1 test and gated import
kvinwang Apr 16, 2026
270aaf8
fix: address copilot review on v1 digest encoding and v2 fallback
kvinwang Apr 16, 2026
f191603
docs: clarify include_hash_inputs returns hex-encoded bytes
kvinwang Apr 16, 2026
de1d4a0
fix: clarify include_hash_inputs only applies to runtime events in pr…
Copilot Apr 16, 2026
5b6b57d
refactor: drop version field from v2 canonical JSON
kvinwang Apr 16, 2026
ca0f577
fix: upgrade to V1 msgpack attestation when v2 events present
kvinwang Apr 16, 2026
90765a3
test: add into_versioned V0/V1 dispatch coverage
kvinwang Apr 16, 2026
55ce10f
refactor: rename v2 canonical JSON fields to name/type/content
kvinwang Apr 16, 2026
3e4b533
feat(vmm): expose event_log_version in vmm-cli and Web UI
kvinwang Apr 16, 2026
5a7d188
refactor: rename v2 canonical JSON content field back to payload
kvinwang Apr 16, 2026
be0eb0b
Potential fix for pull request finding
kvinwang Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ node_modules/
__pycache__
.planning/
/vmm/src/console_v1.html
.claude/worktrees/
21 changes: 21 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions cc-eventlog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,15 @@ license.workspace = true
[dependencies]
anyhow.workspace = true
digest = "0.10.7"
dstack-types.workspace = true
ez-hash.workspace = true
fs-err.workspace = true
hex.workspace = true
or-panic.workspace = true
scale.workspace = true
serde.workspace = true
serde-human-bytes.workspace = true
serde_jcs = "0.2.0"
serde_json = { workspace = true, features = ["alloc"] }
sha2.workspace = true

Expand Down
5 changes: 4 additions & 1 deletion cc-eventlog/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
//
// SPDX-License-Identifier: Apache-2.0

pub use runtime_events::{replay_events, RuntimeEvent};
pub use dstack_types::EventLogVersion;
pub use runtime_events::{
canonical_event_json_v2, replay_events, RuntimeEvent, DSTACK_RUNTIME_EVENT_TYPE,
};
pub use tdx::TdxEvent;

mod codecs;
Expand Down
Loading
Loading