Repository navigation
MET-WP11-B-CLIPPY-01: restore unsuppressed Clippy with diesel_derives 2.3.10 - #986
Merged
Merged
Conversation
… 2.3.10 (#985) Pin diesel_derives 2.3.10 in Cargo.lock (the version and checksum lines of its stanza only; diesel stays 2.3.10). Its QueryableByName derive emits shorthand named-field initializers, so the 346 generated clippy::redundant_field_names positions in 36 Rust files no longer fire under -D warnings. No Rust source, manifest, migration, schema.rs, GraphQL, authorization, workflow or lint configuration changes. Record the single one-time CI-correction slice in the four Thoth-specific post-A2 programme-flow paragraphs (#981 / #985), add the #985 changelog entry and the implementation report.
11 tasks
ja573
marked this pull request as ready for review
October 20, 2026 17:49
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MET-WP11-B-CLIPPY-01 — restore unsuppressed Clippy with
diesel_derives2.3.10DRAFT. Implementation submitted for independent review. MERGE HOLD. This PR is not independently approved; the implementing agent does not approve, ready, or merge it.
feature/metrics->develop), untouched by this PR6126801903), Amendments 7A6273625367/ 7B6288115189/ 7C6288991064, exact #985 body (SHA-256e27f048a5ed25d5b5fdeeb3e2823cc38b3ceddb5329e21ee6c4bf082034edd1f)6296015048— APPROVED, specification only6296026365— APPROVED, specification onlyfeature/metrics)d5451f8516fa18126f6f4969fb3409775408e242, treec15d07c3d48bb84fab6033307369c51de2258506develop), unchangedb44303c214498baf76c9d9a0a7cab374377f9cbe, tree050e1e2954b518d62988e31d74a7d9c280b8822c1014fb7ea244181d0a3112cb38e3bdd8a3d9bd3c(tree4e8100ffda8c9427b90dfb30cf56f248ead35ccc)feature/metrics--wp11-b-clippyChange
Cargo.lock— exactly two lines in thediesel_derivesstanza;dieselstays 2.3.10:The 2.3.10 checksum equals the crates.io sparse-index
cksumand the SHA-256 of the registry.crate. Upstream,QueryableByNamenow emits shorthand named-field initializers (Self { id, name }instead ofSelf { id: id, name: name }) — the generated code behind all 346 unique / 347 renderedclippy::redundant_field_namespositions in 36 files at M (run38806270979, lint job116667915795). A diagnosticcargo update --precisealso flippedprost-build'sheck 0.5.0 -> 0.4.1; that collateral was discarded and the two lines were edited directly.Documentation, within the approved budget:
docs/engineering/ai-delivery/branching-and-release-workflow.md,docs/engineering/repository-map/branch-topology.md,docs/metrics/README.mdanddocs/metrics/task-status.md: keeps the prohibition on normal post-A2 slices, separates the develop-refresh recovery from this single one-time CI correction underthoth-pub/thoth#981 / thoth-pub/thoth#985, requires renewed exact-list A2 after this slice merges and before B, and preserves B's CRITICAL review and merge authorization;CHANGELOG.md[Unreleased]/### Fixedentry citing MET-WP11-B-CLIPPY-01 - Restore unsuppressed Clippy before final Metrics integration #985;docs/engineering/ai-delivery/implementation-reports/MET-WP11-B-CLIPPY-01-implementation-report.md.Diff against M: 6 modified files + 1 new report; zero
.rsfiles; noCargo.toml, migration,schema.rs, GraphQL, workflow, classifier, lint configuration or suppression change. All 36 #985 inventory paths are blob-identical to M.Local validation (reference toolchain rustc/cargo 1.99.0, clippy 0.1.99; disposable PostgreSQL 17.10 UTF8 + Redis 8.10)
git diff --check,cargo fmt --all -- --check,cargo metadata --locked,cargo check --workspace --locked: exit 0;Cargo.lockunchanged by every--lockedstep.cargo test --workspace --locked: exit 0 — 2339 passed, 0 failed, 11 ignored (3 existing#[ignore]unit tests, 8 ignored doctests), against disposable PostgreSQL 17.10UTF8and Redis 8.10.cargo clippy --all --all-targets --all-features --locked -- -D warnings: exit 0, zero lint diagnostics (only Cargo's out-of-scopeproc-macro-error2future-incompat advisory, also present at M). Same-toolchain control with M'sCargo.lock: exit 101 with exactly the 346 CI positions.diesel_derives2.3.9 -> 2.3.10 (identical features and deps) and diesel's edge to it;prost-buildkeepsheck 0.5.0.thoth-client/assets/schema.graphql, untracked): exact M and candidate both2681b54ac18296f886451d08f5396c0a9ef8351762f63f7b3f80f319ae505496, byte-identical, equal to the pinned hash.Expected automatic effects of this draft PR
Classifier for this path set:
run_build=true,run_migrations=false,run_docker=true. Opening or synchronizing this PR runs build/test/lint/format and check-changelog, skips the migration job, and pushes the staging imageghcr.io/thoth-pub/thoth:staging-pr-<this PR>(not a release, migration or deployment). No workflow is manually dispatched or rerun. Natural CI and the observed image digest are collected for the implementation handoff.Effects
No migration, data, SQL,
schema.rs, GraphQL/API, authentication/authorization, concurrency, runtime, configuration, feature-flag or deployment change.Remaining gates (each separately authorized)
feature/metrics(parents[M, this head]; no squash/rebase), including the automatic MET-WP11-THOTH-API-01-B: final Metrics programme integration into develop #984 synchronization, its CI andstaging-pr-984replacement.feature/metricshead M2 (this branch included); the original 37 retired refs stay absent.