Skip to content

Honor edgezero.toml config store id for Trusted Server app config #866

Description

@ChristianPavilonis

Problem

Trusted Server runtime config loading currently has app-config defaults hardcoded in core. It does not derive the default config store id/key from the [stores.config] declaration in edgezero.toml.

This caused the runtime to look for app_config even when the manifest declares:

[stores.config]
ids = ["trusted_server_config"]
default = "trusted_server_config"

A temporary hotfix changed the hardcoded defaults to trusted_server_config, but that is not the right long-term behavior.

Desired behavior

  • Runtime app-config loading should honor the manifest-defined default config id from edgezero.toml.
  • ts config push/diff and runtime loading should agree on the same logical config id and blob key semantics.
  • Avoid duplicated constants that can drift from the manifest.

Relevant files

  • edgezero.toml
  • crates/trusted-server-core/src/settings_data.rs
  • crates/trusted-server-core/src/config_payload.rs
  • crates/trusted-server-cli/src/run.rs

Notes

PR #864 is only a quick deploy unblocker and should be replaced with a proper manifest-driven fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingedgezeroEdgeZero migration

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions