Skip to content

Conversation

@celia-oai
Copy link
Contributor

@celia-oai celia-oai commented Dec 4, 2025

When we are writing to config using config/value/write or config/batchWrite, it always require a config/read before it right now in order to get the correct file path to write to. make this optional so we read from the default user config file if this is not passed in.

@celia-oai celia-oai force-pushed the dev/cc/config branch 2 times, most recently from 657ec9f to 894dcfe Compare December 4, 2025 01:23
@celia-oai celia-oai changed the title Dev/cc/config [app-server] make file_path for config optional Dec 4, 2025
@celia-oai celia-oai marked this pull request as ready for review December 4, 2025 01:35
@celia-oai celia-oai requested review from jif-oai and owenlin0 December 4, 2025 01:35
Copy link
Contributor

@owenlin0 owenlin0 left a comment

Choose a reason for hiding this comment

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

IMO let's:

  • add a docstring to file_path to document that if unspecified, it will default to the user's config.toml?
  • add pub file_path: String to ConfigWriteResponse, so that the client has visibility to which file was written to

thoughts? otherwise looks good

@celia-oai celia-oai enabled auto-merge (squash) December 4, 2025 02:51
@celia-oai celia-oai merged commit 3e6cd56 into main Dec 4, 2025
45 of 47 checks passed
@celia-oai celia-oai deleted the dev/cc/config branch December 4, 2025 03:08
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants