Skip to content

Workflow run detail: show large JSON integers without rounding #374

Closed

Description

@ibetitsmike

Coder Agents acted on behalf of @ibetitsmike.

Problem

The workflow run detail shows the run's Result, and since #372 also its Args and each step's Value. The backend keeps these fields as raw JSON so large integers survive. The browser parses the response with plain JSON.parse (axios default) before formatForkWorkflowValue formats it, so an integer outside the safe range, such as 9007199254740993, displays as 9007199254740992.

The Result block on main already behaves this way. #372 adds two more blocks with the same path. Codex raised it on #372 (review comment 4593254029). It was scoped out of #372 because the fix is one change for all three fields and the site has no lossless JSON parsing today.

Acceptance criteria

  • Result, Args and step Value in the run detail show large integers exactly as the server sent them.
  • No new dependency unless Mike approves one. Options: fetch the detail as text and parse with a JSON.parse reviver that reads context.source where supported, with a clear fallback; or have the API return these fields as JSON text.
  • A vitest that fails today: a detail whose args hold 9007199254740993 renders that exact text through the formatter.
  • Behind the existing fork-workflows experiment.

Related: #324, #372.

Activity

  1. ibetitsmike commented on Nov 18, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Scheduled after #372, which adds the Args and step Value blocks this issue covers.

  2. ibetitsmike commented on Nov 18, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Folded into PR #372: Codex raised the same rounding on the new Args block there, so #372 now fixes Result, Args and step Value together and will close this issue.

  3. added a commit that references this issue on Nov 18, 2026
    e12a308
  4. ibetitsmike commented on Nov 19, 2026

    @ibetitsmike
    OwnerAuthor

    Coder Agents acted on behalf of @ibetitsmike.

    Closed by PR #372, merged as 49f454e (workflow run detail view, with exact large integers from #374). Deploy pending.

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