Skip to content

ci: Use crate-ci/typos@main and ignore patch/minor action bumps in Dependabot - #143

Open
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/typos-no-patch-minor-bumps
Open

ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/typos-no-patch-minor-bumps

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

🚧 UNREVIEWED — awaiting review by @ChrisRackauckas. Filed by an AI agent running as @ChrisRackauckas; Chris has not seen this.
Harness: Cursor Agent CLI · Model: auto
Conversation: local job sciml-dotgithub-typos-dependabot (no session URL)

Summary

Dependabot has been opening a PR for every crate-ci/typos patch (1.50.1 → 1.50.2 → 1.50.3). Those bumps are noise: crate-ci/typos already deprecated @v1 / @master and recommends @main or a release tag, and @main tracks the latest release in action/entrypoint.sh.

This change:

  • Pins the reusable spellcheck workflow to crate-ci/typos@main so we pick up new releases without a weekly version-bump PR.
  • Tells Dependabot to ignore version-update:semver-patch and version-update:semver-minor for every GitHub Actions dependency. Major bumps still open.

Test plan

  • julia --color=yes test/runtests.jl — all testsets passed
  • python3 -m unittest discover -s test -p 'test_resolve_monorepo_tagbot.py' -v — 9 tests OK
  • typos — clean
  • git diff --check — clean

🤖 Posted by an AI agent — harness: Cursor Agent CLI · model: auto
Conversation: local job sciml-dotgithub-typos-dependabot (no session URL)

🤖 Automated review section from an AI agent running as Chris Rackauckas's account — not written or reviewed by Chris.

Risk assessment (independent review, Codex CLI (gpt-6.1-sol), local job oss-reviews-2026-10-21-SciML--github-143 (no session URL), head 3619e77)

  • Risk: high (H5)
  • Blast radius: reviewed diff at head 3619e77 (.github/dependabot.yml and .github/workflows/spellcheck.yml)
  • Evidence: executed independent controls below
  • Independent review: Codex CLI (gpt-6.1-sol) independently reviewed this PR at head 3619e77fe70e and rated it high (H5), high confidence, verdict MERGE.
  • Merge: holds for Chris / master infrastructure decision under H5 (cross-repository workflow infrastructure)

Executed review notes (head 3619e77)

VERDICT: MERGE
RISK: high (H5)
SUMMARY: The configuration implements the stated update policy and the spelling action works, with one clarification needed about floating major versions.

Findings

  1. .github/workflows/spellcheck.yml:15 — nit: Qualify the PR body's “Major bumps still open” statement and replace “Pins” with “Tracks.” That statement applies to versioned action references; crate-ci/typos@main has no major-version boundary and can acquire future major or unreleased action changes without a Dependabot PR. This is an explicit floating-reference policy choice, not a demonstrated current failure.

No blocking or should-fix defects found. No tests, assertions, tolerances, CI jobs, or coverage were removed or weakened. The spelling action still rejects a known misspelling. Existing workflow inputs and outputs are unchanged; there is no demonstrated public API or SemVer break. No dependency was added, and the existing typos dependency remains dual MIT/Apache-2.0 licensed. Upstream licence statement.

Evidence

Risk was assessed from pr.diff and ~/InternalScripts/fleet-master/risk.md before reading pr.json. Matching criterion: H5, cross-repository infrastructure (SciML/.github and its shared spelling workflow). This is the highest applicable criterion. L3 explicitly excludes this repository. H4 does not apply: update filtering does not remove verification. G1 and G3 are inapplicable; the changed spelling-action execution path was exercised locally. The high rating reserves the merge decision for Chris under the supplied rubric; this review performs no approval or merge.

Reviewed head 3619e77fe70e85858b46c67127cdf621a0cd9e95 against merge-base 5e560ab47c0fd4d97d4b20214f383ba435561715. All execution used a head archive under tmp/head; temporary directories and the Julia depot were redirected under tmp.

  1. Repository scope and cleanliness:

    $ git -C repo rev-parse HEAD
    3619e77fe70e85858b46c67127cdf621a0cd9e95
    $ git -C repo merge-base HEAD master
    5e560ab47c0fd4d97d4b20214f383ba435561715
    $ git -C repo diff --check master...HEAD
    [no output; exit 0]
    $ git -C repo diff --stat master...HEAD
     .github/dependabot.yml           | 5 +++++
     .github/workflows/spellcheck.yml | 2 +-
     2 files changed, 6 insertions(+), 1 deletion(-)
    $ git -C repo status --porcelain=v1
    [no output; exit 0]
    
  2. Existing Julia suite, from tmp/head:

    TMPDIR="$PWD/../runtime" JULIA_DEPOT_PATH="$PWD/../depot:" JULIA_NUM_THREADS=4 timeout 2400 julia --project=. --color=no test/runtests.jl

    Exit 0; 21 testsets, 124 passing assertions. Representative real output:

    Test Summary:                                   | Pass  Total  Time
    develop_sources: path and URL source collection |    9      9  2.4s
    Test Summary:                 | Pass  Total  Time
    compute_affected_sublibraries |   24     24  1.4s
    

    Complete output: tmp/julia-tests.log.

  3. Existing Python suite, from tmp/head:

    TMPDIR="$PWD/../runtime" timeout 2400 python3 -m unittest discover -s test -p 'test_resolve_monorepo_tagbot.py' -v
    Ran 9 tests in 0.011s
    
    OK
    

    Exit 0; complete output: tmp/python-tests.log.

  4. Executed the upstream composite action's actual shell entrypoint, downloaded with its formatter under tmp/upstream/action, from tmp/head:

    TMPDIR="$PWD/../runtime" INSTALL_DIR="$PWD/../bin" timeout 300 bash ../upstream/action/entrypoint.sh

    Selected real output:

    Downloading 'typos' v1.51.1
    ./typos
    jq: jq-1.6
    ENTRYPOINT_EXIT=0
    

    main resolved to 7f9d0819ca1c008ade73f4b41fa9d258d48f605b during review. Its action manifest is byte-identical to v1.50.3; diff -u of the entrypoints shows only VERSION=1.50.3 becoming VERSION=1.51.1. This independently supports the body's release-tracking claim for the current snapshot. Upstream entrypoint.

  5. Negative control using that same entrypoint:

    $ python3 tmp/verify_spellcheck.py
    INPUT: This sentence is spelled correctly.
    EXIT: 0
    INPUT: This is teh test.
    ::warning file=sample.txt,line=1,col=9::"teh" should be "the".
    error: `teh` should be `the`
    EXIT: 2
    PASS: clean fixture exits 0; known misspelling exits 2
    typos-cli 1.51.1
    

    Complete output and source hashes: tmp/spellcheck-control.log. An initial probe using sentnce returned 0 because that spelling is not recognized by the dictionary; the successful negative control uses known typo teh.

  6. Parsed .github/dependabot.yml with Python/PyYAML and compared it with the base. The new ignore rule is exactly:

    {"dependency-name": "*", "update-types": ["version-update:semver-patch", "version-update:semver-minor"]}

    Base had no ignore rule. The existing weekly schedule, wildcard group, commit prefix, and labels are retained. These are documented ignore values; the rule does not list major updates. GitHub's Dependabot ignore reference.

  7. Checked the body's deprecation claim against upstream action manifests. Both v1 and master explicitly warn that they are deprecated and direct users to release tags or main. Upstream v1 manifest, upstream master manifest. The body is accurate on this point, although upstream prefers a release tag.

The supplied pr.json reports SUCCESS for actionlint + shellcheck, the Julia suite, and the Python suite at this head. Only the two configuration files changed, so there are no newly introduced self-referential or ineffective repository tests. This is maintenance/update policy, not a bug fix requiring a failing-before/passing-after regression.

Not verified

  • Did not invoke GitHub Actions or the live Dependabot service. The hosted job wrapper, checkout step, and future Dependabot PR creation were not reproduced; the supplied CI snapshot supplies workflow-lint evidence, and the spelling entrypoint was exercised locally.
  • Future upstream main commits and spelling results across all downstream repositories cannot be certified by this snapshot. A moving branch can change independently of SciML releases.
  • Did not rerun the unchanged suites on the base, locally install actionlint/shellcheck, or independently audit upstream typos internals. No new package dependency or licence change appears in this diff.
  • Repository governance/blocklist eligibility and Chris's final infrastructure decision were not established. No commits, pushes, GitHub posts, or edits inside repo were made.

🤖 Posted by an AI agent — harness: Codex CLI · model: gpt-6.1-sol (independent reviewer; appended by Antigravity CLI · model: gemini-4-argon-high)
Conversation: local job oss-reviews-2026-10-21-SciML--github-143 (no session URL)

Stop weekly Dependabot PRs for crate-ci/typos patch releases by following
@main (the latest release) and ignoring semver-patch/minor GitHub Actions
updates.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Cursor Agent <noreply@cursor.com>
Agent-Harness: Cursor Agent CLI
Agent-Model: auto
Agent-Session: local job sciml-dotgithub-typos-dependabot (no session URL)
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

PR: #143

Reviewed head: 3619e77
Raw SHA-256: d5c3002e582756140df8e91b833562e33def1282d9d4e2318cce38efa3814aca
Source SHA-256: cc7257b0c1e3f1607c8e252cefd0c6a79fa9f9066fc91b1bc1a1780fcbdbe5a8
Source: standard-review-v1 (harness-log)
Reviewer session: 01a1ffa7-48f9-7d53-93f2-48ad51e38227
Slot: 1
Confidence: unknown
Own risk fixed before author rating/discussion: yes
Redaction: ran (substitutions=0)

Risk assessment

  • Risk: high (H5)
  • Verdict: CHANGES
  • Reviewed head: 3619e77

Review report

VERDICT: CHANGES
Round: 1
Head: 3619e77
Slot: 1
CI: green
Session: 01a1ffa7-48f9-7d53-93f2-48ad51e38227
Reviewer: codex-cli 0.170.0; model: gpt-6.2-sol

Risk

high (H5: the reusable spellcheck workflow ships to SciML repositories through the shared release tag)

Blocking findings

  • Blocking priorities: P1
  • [P1] .github/workflows/spellcheck.yml:15 A normal upstream push to main can change the action executed by every caller of an already released workflow. With the reviewed workflow revision held fixed, the local fixture changed from exit 0 to exit 42 after one upstream branch advance. The base workflow's version-tag reference remained at exit 0. The repository's CI lints the workflow syntax and does not invoke the spellcheck job, so green CI offers no check on later branch changes. Pin the action to a reviewed release commit SHA and update that pin through the shared workflow's release process.

Non-blocking findings

  • .github/dependabot.yml:12 The wildcard matches patch and minor version updates for actions/checkout and julia-actions/setup-julia as well as crate-ci/typos, as confirmed by the local configuration probe. If branch tracking is intended only for the spellchecker, scope the update suppression to that action so other dependencies keep their configured update coverage.

What I ran

  • julia --color=no test/runtests.jl with Julia 1.12.4 reported 124 passes across 21 testsets.
  • uv run --locked python --version reported Python 3.13.13. This checkout has no Python project or lockfile, and uv reported that --locked had no effect. uv run --locked python -m unittest discover -s test -p 'test_resolve_monorepo_tagbot.py' -v reported Ran 9 tests and OK.
  • actionlint -color=false (1.7.7), git diff --check origin/master...HEAD, and typos .github/dependabot.yml .github/workflows/spellcheck.yml (1.47.0) reported no diagnostics.
  • A scratch Ruby probe parsed the workflow and Dependabot config at the merge base and reviewed head. Advancing a local fixture's main left the base action result at exit=0 -> exit=0 and changed the head action result to exit=0 -> exit=42. The head's ignore rule matched patch and minor, and did not match major, for each of the three tested action names.

What I did not verify

  • GitHub Actions execution of the live crate-ci/typos@main action and GitHub's hosted Dependabot update generation. The probes exercised local ref resolution and rule matching. The CI status in the header was supplied with the review request.

AUTHOR_GRADE: {"task": "ci", "score": 2, "difficulty": 2, "rounds": 1, "author_harness": "Cursor Agent CLI", "author_model": "auto", "note": "Local suites and lint pass, but the branch-advance probe shows that an upstream commit can change the result under a fixed shared workflow revision."}

Head link: 3619e77


🤖 Posted by an AI agent — harness: codex-cli 0.170.0 · model: gpt-6.2-sol
Conversation: local session 01a1ffa7-48f9-7d53-93f2-48ad51e38227 (no session URL)

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.

2 participants