Skip to content

fix: replace Topics map bindings within the selected automation - #411

Merged
Stephen Belanger (Qard) merged 6 commits into
mainfrom
max/observability-duplicate-topic-map-repair
Oct 15, 2026
Merged

Stephen Belanger (Qard) merged 6 commits into
mainfrom
max/observability-duplicate-topic-map-repair

Conversation

@max-braintrust

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

Copy link
Copy Markdown
Contributor

Stack 1/2. Base: main. Next: scoped Topics settings (#409). Review and merge this PR first.

Older template pushes could attach another map when a facet already had one under a different slug. Later pushes failed on those multiple maps. Repair also removed the facet and map from other automations, even when those bindings were valid.

With --force, push selects the map with the generated template slug, or creates it if needed. It detaches superseded maps only from the selected destination automation. Other automations keep their facet and map bindings.

An existing matching map retains its customization and saved state. A newly created map needs generation before it can classify. Push does not regenerate topics or replay historical classifications.

Detached map functions remain in the project and are listed in human and JSON output. They may still be referenced by other automations.

The removal planner takes only the destination mutations, selected destination key, and superseded maps. Its four unused parameters have been removed.

Checks: 17 focused active_observability tests passed, including selected-map replacement and preservation of another automation's shared-facet binding. Cargo formatting and git diff --check passed. Both branches include current main.

@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Latest downloadable build artifacts for this PR commit 70a9fe629c72:

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

@max-braintrust
max-braintrust force-pushed the max/observability-duplicate-topic-map-repair branch from b3261bb to 494b7e4 Compare October 13, 2026 17:02
@max-braintrust
max-braintrust changed the base branch from max/observability-inline-code-facets to main October 13, 2026 17:02
@max-braintrust max-braintrust changed the title fix: repair duplicate topic map wiring during template push fix: replace Topics map bindings within the selected automation Oct 13, 2026
@max-braintrust
max-braintrust marked this pull request as ready for review October 13, 2026 22:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T22:42:34.499323Z a027f8d Draft marked ready
ℹ️ About Codex in GitHub

Your 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.

Comment thread src/observability/push.rs Outdated
@Qard
Stephen Belanger (Qard) merged commit 14e8365 into main Oct 15, 2026
30 checks passed
@Qard
Stephen Belanger (Qard) deleted the max/observability-duplicate-topic-map-repair branch October 15, 2026 09:13
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.

2 participants