Version locking covers string cascades and each expansion's own lock

Aperta
#3,000 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
backend

Direzione di ricerca

Start with core/collections/parsers.py:86 to trace how string cascades generate references before the collection is known, then read core/collections/models.py:1256 for expansion lock resolution. Find the request level tests for cascade and expansion behavior. Done means both string cascade transforms match equivalent dict cascades under release, retired release, and HEAD locks, nested value sets use each expansion’s own lock, and behavior is unchanged when the toggle is off.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

component/api decision/human-review signal/has-dependencies signal/small-scope signal/well-specified stage/triaged type/bug

Repo: oclapi2 · Depends on: OpenConceptLab/ocl_online#586

Part of OpenConceptLab/ocl_issues#2942. String cascades generate their references in the parser, before the collection is known, so they bypass the lock (core/collections/parsers.py:86). A manual expansion takes the default expansion's value-set lock while its source references go to the newest release (core/collections/models.py:1256).

ACs

  • A string cascade, with either transform, under a lock on a release, a retired release or HEAD, gives the same members as the equivalent dict cascade.
  • An expansion resolves nested value sets under its own lock, not the default expansion's.
  • Request-level tests for both. Nothing changes with EXPANSION_LOCKED_REPO_VERSION_TOGGLE off.
Lingua principale
Nessun dato sulla lingua
Stelle
4
Fork
2
Merge medio
2h 12m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenConceptLab/ocl_issues

Tutte le issue di OpenConceptLab/ocl_issues

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.