Skip to content

docs: fix typos in comments, docs, and log messages#1302

Closed
redstartechno wants to merge 1 commit into
gonka-ai:mainfrom
redstartechno:bugfix/fix-codespell-typos
Closed

docs: fix typos in comments, docs, and log messages#1302
redstartechno wants to merge 1 commit into
gonka-ai:mainfrom
redstartechno:bugfix/fix-codespell-typos

Conversation

@redstartechno

Copy link
Copy Markdown

What problem does this solve?

Fixes 16 spelling typos across the codebase — in code comments, documentation prose, and a few
log/error message strings — found with codespell.

How do you know this is a real problem?

Running codespell over the source (excluding generated *.pb.go/*.pulsar.go, vendored code,
and binaries) flags these misspellings. Examples: propogatedpropagated, directydirectly,
inbetweenin between, authrorityauthority, unabled to unmarhsalunable to unmarshal,
subsytemssubsystems, withdrawlwithdrawal. Each misspelled token occurs exactly once in
the repo, so none is relied upon elsewhere.

How does this solve the problem?

Corrects each spelling. The full list (file → fix):

  • decentralized-api/internal/server/public/get_epoch.go — comment: indroducedintroduce
  • inference-chain/app/ante_validation.go — comment: propogatedpropagated
  • inference-chain/x/inference/keeper/poc_period_validation.go — comment: propogatedpropagated
  • inference-chain/x/inference/keeper/bridge_native.go — comment: directydirectly
  • inference-chain/x/inference/keeper/msg_server_validation.go — comment: inbetweenin between
  • inference-chain/x/inference/keeper/bridge_transaction_split_test.go — comment: Get'sGets
  • testermint/src/test/kotlin/StreamVestingTests.kt — comment: unfortunatellyunfortunately
  • decentralized-api/internal/validation/proposal.md — prose: wokerworker
  • testermint/README.md — prose: subsytemssubsystems
  • testermint/mcp_log_examiner/.../logging_overview.md — prose: systensystem
  • testermint/mcp_log_examiner/.../step_by_step.md — prose: regargingregarding
  • inference-chain/cmd/inferenced/cmd/sync_snapshots.go — error string: wihwith
  • inference-chain/x/inference/keeper/developer_stats_aggregation.go — log string: unabled to unmarhsalunable to unmarshal
  • inference-chain/x/inference/types/message_register_model.go — error string: authrorityauthority
  • testermint/src/main/kotlin/DockerGroup.kt — log string: clusercluster
  • testermint/src/test/kotlin/CollateralTests.kt — log string: withdrawlwithdrawal

What risks does this introduce? How can we mitigate them?

Minimal. Comment and documentation edits cannot affect behavior. The few changes to string
literals are limited to human-readable log/error text; each misspelled string appears only once
in the repo, so no test or other code asserts the old spelling. No identifiers, function names,
struct fields, or proto definitions were touched, so nothing requires regeneration.

How do you know this PR fixes the problem?

Re-running codespell with the same scope no longer reports any of these 16 items. Remaining
codespell output consists only of false positives (e.g. the SQLite type prefix DOUB, the
@OptIn/@AfterAll annotations, short identifiers like ege) which were intentionally left
unchanged.

Which components are affected?

Documentation and comments across decentralized-api, inference-chain, and testermint, plus
three human-readable log/error strings. No runtime logic changes.

Testing & evidence

No code paths changed; behavior is unaffected, so automated tests are not applicable. Verification
was done with codespell (before: 16 of these flagged; after: 0). Comment/string edits compile
trivially as they do not alter program structure.

Sweep with codespell across decentralized-api, inference-chain, and
testermint. 16 fixes: code comments, doc prose, and a few log/error
message strings. No behavior change; no identifiers or generated files
touched.
@x0152

x0152 commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

@redstartechno Hi
Thanks for the contributions!

Could you please combine (#1302, #1301, #1300, #1299, #1297) into a single pr?

@redstartechno

Copy link
Copy Markdown
Author

Closing in favor of #1306, which combines this and the other docs fixes into a single PR per the maintainer's request. Thanks!

@redstartechno redstartechno deleted the bugfix/fix-codespell-typos branch June 4, 2026 20:18
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