Skip to content

Conversation

@jglogan
Copy link
Contributor

@jglogan jglogan commented Dec 2, 2025

  • Fixes [Bug]: Network creationDate incorrect. #925.
  • When the API service enumerates creation dates, the configuration value from the network helper is used instead of the persistent config value, so the creation date winds up being the current time. The short term fix is for the API server to return NetworkState values that combine the API server's persistent network config with the network status returned from the helper.
  • The longer term refinement could be to define a uniform model for resources where each resource type has Metadata (id/Identifiable, creationDate, labels), and type-specific configuration and state/status.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

See above.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

- When the API service enumerates creation dates,
  the configuration value from the network helper
  is used instead of the persistent config value,
  so the creation date winds up being the current
  time. The short term fix is for the API server
  to return NetworkState values that combine
  the API server's persistent network config with
  the network status returned from the helper.
- The longer term refinement could be to define
  a uniform model for resources where each resource
  type has Metadata (id/Identifiable, creationDate,
  labels), and type-specific configuration and
  state/status.
@jglogan jglogan merged commit 856d594 into apple:main Dec 2, 2025
3 checks passed
@jglogan jglogan deleted the creationdate-workaround branch December 2, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Network creationDate incorrect.

2 participants