Skip to content

fix: bump model-catalog-api submodule for bug-087 + bug-089 fixes#3

Merged
mosoriob merged 16 commits into
mainfrom
fix/bug-087-junction-on-conflict-label-clobber
May 10, 2026
Merged

fix: bump model-catalog-api submodule for bug-087 + bug-089 fixes#3
mosoriob merged 16 commits into
mainfrom
fix/bug-087-junction-on-conflict-label-clobber

Conversation

@mosoriob
Copy link
Copy Markdown
Contributor

@mosoriob mosoriob commented May 8, 2026

Summary

  • Bumps model-catalog-api submodule to fix/bug-087-junction-on-conflict-label-clobber (fix(request): use update_columns:[] on nested target on_conflict (bug-087) model-catalog-api#5), which sets buildJunctionInserts nested target on_conflict.update_columns to [] so linking by id alone no longer null-clobbers existing target rows.
  • Updates .wolf/buglog.json bug-087 with the corrected root cause and applied fix (initial flush-ordering hypothesis was wrong).
  • Adds matching cerebrum entries: corrected key learning + Do-Not-Repeat rule on nested on_conflict semantics.

Test plan

  • Submodule vitest: 188 passing
  • Verify deployment with helm image bump (separate change)
  • Live: POST /v2.0.0/modelconfigurations with hasInput:[""] returns 201 and GET shows the relation

Linked

mosoriob added 16 commits May 7, 2026 20:08
…t fix

Bumps model-catalog-api to fix/bug-087-junction-on-conflict-label-clobber
which switches buildJunctionInserts nested target on_conflict.update_columns
from ['label'] to [] so linking by id alone no longer null-clobbers
existing target rows.

Updates .wolf/buglog.json bug-087 with the corrected root cause and the
applied fix (initial flush-ordering hypothesis was wrong). Adds matching
cerebrum entries: corrected key learning and a Do-Not-Repeat rule on
nested on_conflict semantics.
Architecture for two-pass tree-builder + Hasura mutation compiler
covering all 46 resources, replace-subtree PUT semantics, dynamic
update_columns (bug-087 safe), and bug-087 PUT FK fold-in.
15 TDD tasks covering nested-tree builder, mutation compiler (POST+PUT),
service.ts wiring, registry override, integration tests, openapi v2.1.0
bump, caller migration audit, and bug-089 buglog entry.
- dynamo-experiment-may: reassign version=r.json() after second GET; add separate GET /modelconfigurations/{slug} for hasInput/hasOutput.
- model-catalog-api: 3 e2e tests asserting hasConfiguration shape on GET /softwareversions/{id} and shallow embedded version on GET /softwares/{id}.
- Log bug-090 with root cause (response.ts depth<2 + field-maps modelcatalog_software selecting only id+label+description on versions).
Pointer updated to 3258186 (PR mintproject/model-catalog-api#6 merged).
Includes recursive nested POST/PUT and link-only childFk routing fix.
@mosoriob mosoriob changed the title fix: bump model-catalog-api submodule for bug-087 junction on_conflict fix fix: bump model-catalog-api submodule for bug-087 + bug-089 fixes May 10, 2026
@mosoriob mosoriob merged commit 0069fce into main May 10, 2026
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.

1 participant