Skip to content

fix: repair duplicate topic map wiring during template push - #411

Draft
max-braintrust wants to merge 1 commit into
max/observability-inline-code-facetsfrom
max/observability-duplicate-topic-map-repair
Draft

max-braintrust wants to merge 1 commit into
max/observability-inline-code-facetsfrom
max/observability-duplicate-topic-map-repair

Conversation

@max-braintrust

@max-braintrust max-braintrust commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Stack 2/3: duplicate topic map repair. Base: inline code facets (#410) (max/observability-inline-code-facets). Next: scoped automation settings (#409).

Older template pushes could attach a new map even when the facet already had one under a different slug. A later push then fails because the facet has multiple attached topic maps.

With --force, keep the oldest attached map, breaking timestamp ties by function ID, and detach the duplicates from Topics automations. This keeps the retained map's customization and reports. Detached maps stay in the project; human and JSON push output list them. Other facet and map references stay attached.

Checks: 19 active_observability tests passed, including repair of duplicate wiring while retaining the original map's customization and reporting the detached map. Cargo formatting and README Prettier passed. Clippy passed with the existing large_enum_variant warning in the root command enum suppressed.

@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit b3261bb9fe2e:

Available artifact names
  • artifacts-build-local-aarch64-pc-windows-msvc
  • artifacts-plan-dist-manifest
  • artifacts-build-global
  • artifacts-build-local-aarch64-unknown-linux-gnu
  • artifacts-build-local-x86_64-apple-darwin
  • artifacts-build-local-x86_64-pc-windows-msvc
  • cargo-dist-cache
  • artifacts-build-local-x86_64-unknown-linux-gnu
  • artifacts-build-local-x86_64-unknown-linux-musl
  • artifacts-build-local-aarch64-apple-darwin

This branch has not been deployed

No deployments
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