Skip to content

conformance: server verification fixtures are not schema validated #161

Description

@memosr

Sorun

conformance/scripts/server_verify_runner.py içindeki load_cases() fonksiyonu
server-verification/cases.json dosyasını yalnızca isinstance(cases, list)
kontrolüyle kabul ediyor. Bozuk veya eksik alanlı fixture'lar sessizce geçiyor,
tekrar eden case adları da engellenmiyor.

Önerilen düzeltme

  • conformance/schemas/server-verification-cases.schema.json eklenmesi
  • load_cases() içinde şema doğrulaması yapılması
  • Tekrarlı case adlarının reddedilmesi
  • 6 yeni test

Hazır branch

Yama hazır ve upstream/main üstüne rebase edilmiş durumda:
https://github.com/memosr/mpp-tools/tree/fix/server-verification-fixture-schema

Diff:
main...memosr:mpp-tools:fix/server-verification-fixture-schema

Not: repo PR açmayı collaborator'lara kısıtladığı için PR gönderemedim.
İsterseniz branch'ten cherry-pick edebilirsiniz.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions