Skip to content

fix: resolve CI lint failures (fmt, lockfile, markdownlint)#13

Merged
github-actions[bot] merged 2 commits into
developfrom
feature/issue-8
Feb 17, 2026
Merged

fix: resolve CI lint failures (fmt, lockfile, markdownlint)#13
github-actions[bot] merged 2 commits into
developfrom
feature/issue-8

Conversation

@akiojin

@akiojin akiojin commented Feb 17, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up fixes for CI failures after PR #12 was auto-merged:

  • cargo fmt formatting applied to src/config.rs
  • pnpm-lock.yaml regenerated to match package.json
  • specs/specs.md updated via update-specs-readme.sh
  • Markdownlint MD060 table column style errors fixed in README.md, RELEASE.md, docs/development.md

Test plan

  • cargo test — all 34 tests pass
  • npx markdownlint-cli README.md RELEASE.md docs/development.md — no errors
  • cargo fmt --all -- --check — no diff

🤖 Generated with Claude Code

akiojin and others added 2 commits February 17, 2026 13:01
Add spaces around table separator pipes for compact style compliance.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
github-actions Bot merged commit bbe2505 into develop Feb 17, 2026
9 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Feb 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/issue-8

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.

akiojin pushed a commit that referenced this pull request Mar 3, 2026
fix: resolve CI lint failures (fmt, lockfile, markdownlint)
arghhhhh added a commit to arghhhhh/unity-cli that referenced this pull request Jun 23, 2026
…refs

Pass-1 breadth proof for Preferences (akiojin#13). Reuses the existing vfx_settings
tool with a new `scope` param (default "project"; "preferences" routes to
EditorPrefs via UnityEditor.VFX.VFXViewPreference).

- VfxGraphHandler: VFXViewPreferenceType + a canonical 11-entry preference
  table (propName, keyConstName, type). GetVfxPreferences reflects each
  public static property — instancingEnabled, displayExperimentalOperator,
  multithreadUpdateEnabled, forceEditionCompilation, advancedLogs,
  cameraBuffersFallback (enum→name), authoringPrewarm{Step,Max}, ...
- SetVfxPreference resolves the key constant by reflection, calls the
  matching EditorPrefs.SetBool/SetInt/SetFloat, invalidates the cache via
  VFXViewPreference.SetDirty(), then re-reads through the canonical property
  to confirm the round-trip. Result echoes the resolved editorPrefsKey
  (e.g. "VFX.InstancingEnabled").
- Catalog: schema widened with `scope` string; description updated to cover
  both scopes. Tool-level mutating unchanged (parity count stays 134).
- Tests (3 new, total 48 EditMode, 0 skipped):
  * contract: unknown pref name returns a descriptive error listing the
    11 known names;
  * behavioral get: properties block surfaces instancingEnabled,
    displayExperimentalOperator, multithreadUpdateEnabled;
  * behavioral set: instancingEnabled flips and round-trips via re-read,
    editorPrefsKey resolves to the package's "VFX.InstancingEnabled"
    constant, restored in finally.
- Skill + docs: split scope:project / scope:preferences examples and call
  out the Instancing master gate (gate akiojin#1 of akiojin#16's 3-gate reconciliation).

Verified live via raw: get scope:preferences surfaces all 11 prefs;
set instancingEnabled=false re-reads as false; set
authoringPrewarmStepCountPerSeconds=40 (int) round-trips; restored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
arghhhhh added a commit to arghhhhh/unity-cli that referenced this pull request Jun 23, 2026
Closes the Preferences checklist. allowShaderExternalization is the one VFX
editor pref with no public getter property on VFXViewPreference — only a key
constant ("VFX.allowShaderExternalization") and a private field — so the existing
property-reflection read path skipped it.

Refactored ReadPrefProperty into ReadPref(entry): prefers the canonical public
static property (which reflects VFXViewPreference's cache) and falls back to a
direct EditorPrefs.GetBool/GetInt/GetFloat by key+type when no property exists.
Added the pref to the canonical table; the set path already wrote via EditorPrefs
by key, so writes worked — only the read-back needed the fallback.

Verified live + EditMode: get now lists allowShaderExternalization (12 prefs),
set true round-trips via re-read echoing editorPrefsKey "VFX.allowShaderExternalization",
restores cleanly. 5-layer: handler + ReadPref refactor; skill + docs/tools.md
(no catalog change — vfx_settings schema already covers scope/setting/value);
1 EditMode round-trip test (85 passed / 0 failed / 0 skipped).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
arghhhhh added a commit to arghhhhh/unity-cli that referenced this pull request Jun 25, 2026
…refs

Pass-1 breadth proof for Preferences (akiojin#13). Reuses the existing vfx_settings
tool with a new `scope` param (default "project"; "preferences" routes to
EditorPrefs via UnityEditor.VFX.VFXViewPreference).

- VfxGraphHandler: VFXViewPreferenceType + a canonical 11-entry preference
  table (propName, keyConstName, type). GetVfxPreferences reflects each
  public static property — instancingEnabled, displayExperimentalOperator,
  multithreadUpdateEnabled, forceEditionCompilation, advancedLogs,
  cameraBuffersFallback (enum→name), authoringPrewarm{Step,Max}, ...
- SetVfxPreference resolves the key constant by reflection, calls the
  matching EditorPrefs.SetBool/SetInt/SetFloat, invalidates the cache via
  VFXViewPreference.SetDirty(), then re-reads through the canonical property
  to confirm the round-trip. Result echoes the resolved editorPrefsKey
  (e.g. "VFX.InstancingEnabled").
- Catalog: schema widened with `scope` string; description updated to cover
  both scopes. Tool-level mutating unchanged (parity count stays 134).
- Tests (3 new, total 48 EditMode, 0 skipped):
  * contract: unknown pref name returns a descriptive error listing the
    11 known names;
  * behavioral get: properties block surfaces instancingEnabled,
    displayExperimentalOperator, multithreadUpdateEnabled;
  * behavioral set: instancingEnabled flips and round-trips via re-read,
    editorPrefsKey resolves to the package's "VFX.InstancingEnabled"
    constant, restored in finally.
- Skill + docs: split scope:project / scope:preferences examples and call
  out the Instancing master gate (gate akiojin#1 of akiojin#16's 3-gate reconciliation).

Verified live via raw: get scope:preferences surfaces all 11 prefs;
set instancingEnabled=false re-reads as false; set
authoringPrewarmStepCountPerSeconds=40 (int) round-trips; restored.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
arghhhhh added a commit to arghhhhh/unity-cli that referenced this pull request Jun 25, 2026
Closes the Preferences checklist. allowShaderExternalization is the one VFX
editor pref with no public getter property on VFXViewPreference — only a key
constant ("VFX.allowShaderExternalization") and a private field — so the existing
property-reflection read path skipped it.

Refactored ReadPrefProperty into ReadPref(entry): prefers the canonical public
static property (which reflects VFXViewPreference's cache) and falls back to a
direct EditorPrefs.GetBool/GetInt/GetFloat by key+type when no property exists.
Added the pref to the canonical table; the set path already wrote via EditorPrefs
by key, so writes worked — only the read-back needed the fallback.

Verified live + EditMode: get now lists allowShaderExternalization (12 prefs),
set true round-trips via re-read echoing editorPrefsKey "VFX.allowShaderExternalization",
restores cleanly. 5-layer: handler + ReadPref refactor; skill + docs/tools.md
(no catalog change — vfx_settings schema already covers scope/setting/value);
1 EditMode round-trip test (85 passed / 0 failed / 0 skipped).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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