8000 fix(mfile): refuse legacy network spellings with exit 3 after the grace release · Issue #3120 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

fix(mfile): refuse legacy network spellings with exit 3 after the grace release #3120

Open

Description

@agent-137

Residual of BOX T17 (#2411, PR #3105), from arch condition C1 (arch_rulings 1037), raised when #3105 merged main after #3106 (T19).

legacy reads the old tables for one release, 0.8, with a hint, and refuses them with exit 3 from 0.9.0 (legacy::past_grace). mfile::network::canonicalize from #3106 also rewrites old spellings: a legacy mode spelling (LEGACY_MODES, such as no-net) or a flat egress key (FLAT_EGRESS_KEYS). It gives one hint each, but it never refuses them, so the network spellings would outlive the grace that the legacy tables end at.

Scope:

  • network::canonicalize takes the release, as legacy::canonicalize does.
  • When legacy::past_grace(release) is true, it returns an exit-3 error for a legacy mode spelling or a flat egress key, carrying the same hint that legacy_mode_hint or flat_egress_hint gives.
  • legacy_tables_exit3_after_grace_release asserts the refusal for one mode spelling and one flat key at 0.9.0, and asserts that 0.8.0-dev accepts both.

Related: #3116, the create-path caller of canonicalize.

Refs #2411, #2414, #3105, #3106.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0