Discussion: how should breaking-but-signature-unchanged changes surface to users?
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Read .github/release.yml and the minor-release flow in RELEASE.md, especially step 4, then compare them with the existing PR examples #1181 and #1422. The issue asks for agreement on a process, not a code change; done means the project chooses a mechanism and records it in a follow-up issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Requirement
When a PR changes behaviour without changing a function's signature or raising an error, existing external callers get silently different results. Mellea currently has no process for making that visible before or after release — it's on the author to notice and call it out, and even then, nothing carries that explanation through to where users would actually see it.
Example
#1422 changes LocalHFBackend.list_adapters() to return registered adapters rather than only loaded ones. Same signature (() -> list[str]), no error, different result for any external caller relying on the old meaning. The PR body documents this clearly under "Breaking changes," but that explanation currently has no path into anything a user would read after the fact.
Mechanisms we already have (and where each falls short)
- PR title
!convention (e.g.refactor(telemetry)!: move backend tracing onto plugin/hook pattern, #1181) — signals intent in the title, but it's prose only; the release-notes generator doesn't parse it. .github/release.ymlcategories — bucket changelog entries by GitHub label (enhancement,bug,documentation, else "Other Changes"). Nobreaking-changelabel or category exists. Even if one did, the generator only emits one line per PR (title + author + link) — it doesn't pull in any of the PR body, so the actual explanation still wouldn't reach the changelog.- PR body "Breaking changes" section — some PRs (like #1422) write this out in detail, but it's a per-author convention, not a requirement, and nothing currently reads it back out anywhere.
RELEASE.mdchangelog-sync step — there's already a human review checkpoint before the generated notes merge tomain(step 4 in the minor-release flow). This is the only point in the pipeline where a person could reasonably lift detail from a PR body into the published notes — but nothing directs them to do so today.
Open question
We need to agree on a process, not just a label. Some shapes it could take:
- Require a
## Breaking changessection (or similar) on PRs carrying abreaking-changelabel, and make the changelog-sync reviewer responsible for copying that content into the synced notes. - Something more automated — e.g. a script that extracts a specific heading from labelled PR bodies during the sync step.
- Decide breaking-but-silent changes don't belong in the changelog at all, and should instead go in a separate "Migration Notes" doc per release.
Filing this as a discussion rather than a fix — want agreement on the mechanism before opening any PR against .github/release.yml or RELEASE.md. Once settled, a follow-up issue should apply it retroactively to #1422's list_adapters() change.
- Lingua principale
- Python
- Stelle
- 1.8k
- Fork
- 161
- Merge medio
- 4g 3h
- PR unite (30g)
- 45
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di generative-computing/mellea
-
bug: `mellea.plugins.builtin_debug.generation.log_generation_post_call` shows model as unknownApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
generative-computing/mellea#1864 ·
I maintainer di solito rispondono entro 3 giorni
-
bug: instruct() and react() replay tool-call turns without tool_callsForse già presa @simonyang08 l’ha presa 21 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
generative-computing/mellea#1784 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Silently mangled docstrings: lone backslash line-continuations in non-raw docstrings collapse command examplesForse già presa @madhusudhan1260 l’ha presa 18 giorni fa. Apertagood first issue p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
generative-computing/mellea#1780 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 3 giorni
-
area/telemetry enhancement p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
generative-computing/mellea#1210 ·
I maintainer di solito rispondono entro 3 giorni
-
Add requirement priorityApertaarea/requirement area/stdlib enhancement p2
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
generative-computing/mellea#31 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di generative-computing/mellea
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
OpenFreeEnergy/openfe#2371 ·
I maintainer di solito rispondono entro 2 giorni
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
NCATSTranslator/Babel#1269 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
404 on sample dataApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100