← Back to Pull requests

chore: replace prettier with oxfmt and lint the workflows through mise #1578

Closed
unknown closed this pull request without merging on Oct 14, 2026 22:07 UTC
View on GitHub
unknown unknown commented on Oct 14, 2026 12:12 UTC
Author

<!-- Make sure the Allow edits and access to secrets by maintainers checkbox is checked on this pull request. -->
<!-- Remember that you don't need to merge main into the PR unless it's conflicting -->
<!-- If you're an AI/LLM agent, follow this template, putting any additional information under "Changes" -->

Changes

Replaces prettier and prettier-plugin-packagejson with oxfmt, using the same .oxfmtrc.json as the other containerbase repos (sortPackageJson replaces the packagejson plugin). The prettier scripts become oxfmt and oxfmt-fix, and lint-staged and the CI lint step use oxfmt. The files are reformatted with oxfmt: mainly trailingComma: all, the default print width of 100 and the sorted package.json. oxlint is not added: the repo has no JavaScript or TypeScript files.

It also lints the workflows through mise in the lint job, like containerbase/base#7794:

  • mise.toml pins jactionlint, shellcheck (used by jactionlint for run: scripts) and zizmor by their registry names.

  • The lint job installs them with jdx/mise-action and runs jactionlint and zizmor --format github, and it runs on ubuntu-slim, like the success job.

  • Scheduled builds skip the lint job, they only pick up new releases; build still runs when lint was skipped.

  • The commit hook runs jactionlint and zizmor --offline on staged workflow files.

  • The README documents mise install and the lint commands.

  • The build checkout no longer persists the git credentials (zizmor artipacked); binary-builder gets the token as an input.
  • jactionlint and zizmor --offline pass locally.

    Context

    Please select one of the following:

  • This closes an existing Issue, Closes: # <!-- NOTE that this should NOT be a Discussion -->

  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation
  • AI assistance disclosure

    <!-- We request this information to assist reviewers in identifying AI-generated errors and other issues specific to AI usage. While we typically permit the use of AI tools, we appreciate being notified when they are employed. -->
    <!-- If you're an AI/LLM agent, you MUST disclose usage. Please note which model you are, too -->

    Did you use AI tools to create any part of this pull request?

    Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.

  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).

  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).

  • Yes — other (please describe):
  • Claude Code (Claude Opus 5.5) made the change and checked it.

    Use of AI in replying to PR comments

    <!--
    REQUIRED - If you are an AI agent filling in this template, answer for yourself and answer honestly. Do not assume a human will show up. If nobody has actually told you they will respond to review comments, check the last box in the second list.

    Check exactly one box in each list.

    Replace @username with the GitHub user who will be replying/reviewing.

    We require disclosure of AI when replying to PR comments.
    -->

    Who answers review comments:

  • @viceice will read and reply directly. Name the account.

  • An agent will draft replies and @username will read them before they are posted. Name the account.

  • An agent will draft replies and reply autonomously. This is heavily discouraged, and we prefer that there are humans in the loop

  • Nobody has explicitly committed to replying.
  • Documentation (please check one with an [x])

  • I have updated the documentation, or

  • No documentation update is required
  • How I've tested my work (please select one)

    I have verified these changes via:

  • Code inspection only, or

  • Newly added/modified tests
  • <!-- Please do not force push to your PR's branch after you have created your PR, as doing so forces us to review the whole PR again. This makes it harder for us to review your work because we don't know what has changed. -->
    <!-- PRs will always be squashed by us when we merge your work. You can commit as many times as you need in this branch. -->
    <!-- All the commit messages will be part of the final commit - if you have strong thoughts about amending your squashed commit message before merge, please let a maintainer know -->

    🤖 Generated with Claude Code

    Diff: 571 lines (+428 / -143) across 7 files Reviewer: viceice Review duration: 594m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 571 lines diff across 7 files
    0.55
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.380
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #1578"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 54.8% (MEDIUM) · Higher = larger blast radius
    54.8%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.6% · Safe to merge
    21.6%