Skip to content

describe_table reports expiration 0s for an eviction-only table and never reports eviction #4242

Open

Description

@kriszyp

Summary

describe_table reports expiration: '0s' for a table that has only eviction, and never reports eviction itself. A reader cannot tell an eviction-only table's grace period from the output, and 0s reads like "expires immediately".

Mechanism

  • makeTable sets expirationMs = 0 for an eviction-only table so that describe_all shows the table as having a TTL on every worker (resources/Table.ts).
  • dataLayer/schemaDescribe.ts prints expiration from expirationMS and has no eviction field.

Expected

Report eviction (and leave expiration out when it is 0), or document the 0s shape.

Review-Deferral: 68524617fabb50f0 severity=nit category=documentation
Review-Deferral: ac1c5dc3bd820ff9 severity=nit category=correctness

🤖 Generated by Claude Opus 5.5 (Claude Code); posted via @kriszyp.

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

    Fields

    Priority

    P3

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions