Skip to content

remove local config#353

Merged
meganetaaan merged 1 commit intodev/v1.0from
fix/cleanup-manifest-local
Nov 23, 2025
Merged

remove local config#353
meganetaaan merged 1 commit intodev/v1.0from
fix/cleanup-manifest-local

Conversation

@meganetaaan
Copy link
Copy Markdown
Collaborator

@meganetaaan meganetaaan commented Nov 23, 2025

This pull request simplifies the configuration in manifest_local.json by removing all custom settings for TTS and driver, leaving an empty configuration object.

  • Configuration Simplification:
    • Removed the custom tts and driver configuration sections from manifest_local.json, resulting in an empty config object.

Summary by CodeRabbit

  • Chores
    • Simplified configuration settings by removing specific driver configurations, resulting in a streamlined default setup.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Nov 23, 2025

Walkthrough

The pull request removes TTS driver and servo driver configuration entries from manifest_local.json, replacing the previous nested configuration with an empty config object.

Changes

Cohort / File(s) Summary
Configuration Cleanup
firmware/stackchan/manifest_local.json
Removed VoiceVox TTS host/port configuration and scservo driver entry; replaced nested config with empty config object

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Straightforward removal of configuration entries from a manifest file
  • No logic changes or complex interactions affected
  • Single file modification with clear intent

Poem

🐰 A config once cluttered with settings so fine,
Now streamlined and simple, just right—
The drivers were cleared, the config grew bare,
But cleaner it shines in the light!

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'remove local config' accurately and concisely describes the main change in the pull request: removing custom configuration from manifest_local.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/cleanup-manifest-local

Tip

📝 Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. 📝 Description — Summarize the main change in 50–60 words, explaining what was done.
  2. 📓 References — List relevant issues, discussions, documentation, or related PRs.
  3. 📦 Dependencies & Requirements — Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. 📊 Contributor Summary — Include a Markdown table showing contributions:
    | Contributor | Lines Added | Lines Removed | Files Changed |
  5. ✔️ Additional Notes — Add any extra reviewer context.
    Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 4826431 and fd02648.

📒 Files selected for processing (1)
  • firmware/stackchan/manifest_local.json (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2024-10-07T13:53:12.352Z
Learnt from: stc1988
Repo: stack-chan/stack-chan PR: 291
File: firmware/stackchan/speeches/tts-local.ts:30-35
Timestamp: 2024-10-07T13:53:12.352Z
Learning: firmware/stackchan/speeches/tts-local.ts において、他の TTS と同様に `new ResourceStreamer` の初期化時のエラーハンドリングは不要です。

Applied to files:

  • firmware/stackchan/manifest_local.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: build
  • GitHub Check: build
  • GitHub Check: build

Comment on lines 1 to 4
{
"include": ["./manifest.json"],
"config": {
"tts": {
"type": "voicevox",
"host": "192.168.7.136",
"port": 50021
},
"driver": {
"type": "scservo"
}
}
"config": {}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Verify that manifest.json provides necessary TTS and driver configuration defaults.

This change removes all local TTS and driver configuration, meaning the application now relies entirely on the main manifest.json for these settings. Confirm that:

  1. The included manifest.json contains appropriate default configurations for TTS and driver
  2. The application functions correctly without local overrides
  3. Users have a documented method to customize TTS and driver settings if needed (either in manifest.json or through another configuration mechanism)

Run the following script to inspect the manifest.json structure and verify TTS/driver configurations exist:


🏁 Script executed:

#!/bin/bash
# Description: Verify that manifest.json contains TTS and driver configuration defaults

# Check if manifest.json exists and examine its structure
echo "=== Checking manifest.json location and structure ==="
find . -name "manifest.json" -path "*/stackchan/*" | head -5

# Display the relevant config sections from manifest.json
echo "=== Checking for 'config' object and its contents ==="
jq '.config' firmware/stackchan/manifest.json 2>/dev/null || echo "Could not read config from manifest.json"

# Check for TTS configuration
echo "=== Checking for TTS configuration ==="
jq '.config.tts // "Not found"' firmware/stackchan/manifest.json 2>/dev/null

# Check for driver configuration
echo "=== Checking for driver configuration ==="
jq '.config.driver // "Not found"' firmware/stackchan/manifest.json 2>/dev/null

Length of output: 714


TTS configuration is missing from manifest.json after removing it from manifest_local.json.

The script confirms that firmware/stackchan/manifest.json contains the driver configuration, so that migration is valid. However, TTS configuration is absent from manifest.json entirely. Since the change removes TTS settings from manifest_local.json with no corresponding defaults in manifest.json, this creates a gap:

  • Driver config: Present in manifest.json ✓
  • TTS config: Missing from both manifest.json and manifest_local.json ✗

Either add TTS configuration to firmware/stackchan/manifest.json or document why TTS is no longer needed and how users should configure it if required.

🤖 Prompt for AI Agents
In firmware/stackchan/manifest_local.json around lines 1-4, the TTS settings
were removed but not migrated to firmware/stackchan/manifest.json, leaving TTS
configuration missing; restore defaults by adding the TTS configuration block
that was previously in manifest_local.json into firmware/stackchan/manifest.json
(ensure keys, driver entry, and any default parameters match the previous local
values), or alternatively update repository documentation and README to explain
that TTS is intentionally removed and provide clear instructions and example
manifest snippets for users to add TTS config themselves if needed.

@meganetaaan meganetaaan merged commit 1340e93 into dev/v1.0 Nov 23, 2025
4 checks passed
meganetaaan added a commit to sskw-ugo/stack-chan that referenced this pull request Mar 11, 2026
meganetaaan added a commit that referenced this pull request Mar 11, 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