Skip to content

test: assert GameServer security fields pass through unredacted (spec 030) - #8

Merged
ValgulNecron merged 1 commit into
mainfrom
feat/030-security-read-only-fields
Nov 23, 2026
Merged

ValgulNecron merged 1 commit into
mainfrom
feat/030-security-read-only-fields

Conversation

@ValgulNecron

Copy link
Copy Markdown
Contributor

Summary

Part of Gameplane spec 030 (per-server security overrides, GameplanePanel/Gameplane#977, merged). This covers the mcp-server/specs.md part of T067 and research R15: the read-only MCP server must show a GameServer's new spec.security (uid/gid/fsGroup overrides) and status.security (desired, applied, pending) without hiding any of it.

No code change is needed: the generic get_gameplane_resource and list_gameplane_resources tools only strip metadata.managedFields. This PR pins that behaviour:

  • New security_roundtrip_test.go: a GameServer fixture with every security shape (explicit value, useImageDefault, desired/applied read model with pending) and assertions that both tools return spec.security and status.security exactly as stored.
  • README.md: an example get_gameplane_resource call noting the security fields are returned unredacted.
  • specs.md: security consideration 7 saying the same.

The server stays read-only; no tool is added.

After merge, the mcp-server pointer gets bumped in Gameplane.


Generated by Claude Code

… 030)

The generic get and list tools return a GameServer's spec.security and
status.security as stored; only metadata.managedFields is stripped. A new
round-trip test pins this, and README and specs.md say so (Gameplane
spec 030 T067).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a70b41c4-5ba7-4d5a-9cc8-d338fd449bb7
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@ValgulNecron
ValgulNecron merged commit 62ec233 into main Nov 23, 2026
6 checks passed
@ValgulNecron
ValgulNecron deleted the feat/030-security-read-only-fields branch November 24, 2026 00:04
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