Skip to content

Conversation

@guilherme-brandao
Copy link
Contributor

@guilherme-brandao guilherme-brandao commented Jun 12, 2025

Purpose of Changes and their Description

This PR introduces the ability for topic creators to update existing topics

  • Add UpdateTopic message/handler so topic creators can update metadata and selected tuning parameters.
  • Emit a TopicUpdated event whenever a topic change is applied.

Link(s) to Ticket(s) or Issue(s) resolved by this PR

https://linear.app/alloralabs/issue/ENGN-3811/modifiable-topics

Are these changes tested and documented?

  • If tested, please describe how. If not, why tests are not needed.
  • If documented, please describe where. If not, describe why docs are not needed.
  • Added to Unreleased section of CHANGELOG.md?

@github-actions
Copy link

github-actions bot commented Jun 12, 2025

The latest Buf updates on your PR. Results from workflow Buf Linter / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedJan 6, 2026, 10:17 AM

@guilherme-brandao guilherme-brandao changed the base branch from dev to alek/engn-3789-refactor-unit-tests-to-reduce-technical-debt-0 June 12, 2025 10:53
Base automatically changed from alek/engn-3789-refactor-unit-tests-to-reduce-technical-debt-0 to dev June 19, 2025 11:55
@guilherme-brandao guilherme-brandao force-pushed the guilherme/engn-3811-modifiable-topics branch from 1be79e1 to 18912c0 Compare June 20, 2025 11:11
@guilherme-brandao guilherme-brandao marked this pull request as ready for review June 20, 2025 11:54
@guilherme-brandao guilherme-brandao force-pushed the guilherme/engn-3811-modifiable-topics branch from 2ee0667 to 7db5d46 Compare November 20, 2025 20:05
Copy link
Contributor

@xmariachi xmariachi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More discussion to be had about the store, for now these two comments

Copy link
Contributor

@amimart amimart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thx! Just left some suggestions

@xmariachi xmariachi mentioned this pull request Dec 11, 2025
3 tasks
@guilherme-brandao guilherme-brandao force-pushed the guilherme/engn-3811-modifiable-topics branch from 1d6d897 to 92cdb74 Compare December 15, 2025 09:52
Copy link
Contributor

@xmariachi xmariachi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small changes requested on UpdateTopic fn

@guilherme-brandao guilherme-brandao force-pushed the guilherme/engn-3811-modifiable-topics branch from 4b0849b to 349a845 Compare December 22, 2025 18:23
## Purpose of Changes and their Description

- Move `c_norm` from global params to a per-topic field, updating proto
definitions, tx messages, keeper/msgserver logic, and synthesis/regret
calculations to read from `topic.CNorm`.
- Add migration v12 to drop global `c_norm` and copy the previous value
into every existing topic using a store iterator to avoid gaps.

## Link(s) to Ticket(s) or Issue(s) resolved by this PR
https://linear.app/alloralabs/issue/ENGN-4064/editable-per-topic-c-norm

## Are these changes tested and documented?

- [x] If tested, please describe how. If not, why tests are not needed.
- [x] If documented, please describe where. If not, describe why docs
are not needed.
- [x] Added to `Unreleased` section of `CHANGELOG.md`?
amimart
amimart previously approved these changes Dec 29, 2025
@guilherme-brandao guilherme-brandao merged commit ed0c9b6 into dev Jan 6, 2026
12 checks passed
@guilherme-brandao guilherme-brandao deleted the guilherme/engn-3811-modifiable-topics branch January 6, 2026 18:10
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.

6 participants