Call for contributions: tests and tools (lavapipe replay tests, frame capture, sanitizer failures)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
Línea de trabajo
Choose one contribution before starting and comment on this issue to coordinate. For export coverage, read core/libs/tests/GuestKernelBarrierInitBounds.cpp, select a library with many exports and few tests, and add an edge case such as a null pointer, bad handle, or zero size; done means the focused test passes with ctest. For a sanitizer failure, inspect .github/sanitizer-known-failures.txt and follow the build steps in docs/dev/BUILD.md; fix one listed cause and remove its entry.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Call for contributions: tests and tools
Why
The project has no console and the CI has no GPU, so the tests are what keeps the CPU side honest. Three open pieces make them better, and none needs a game.
What to pick
- Replay tests on lavapipe (#206).
tools/lavapipe_skip.txtlists 39 skipped tests; the replay tests among them are skipped because the renderer's device selection refuses lavapipe: it requiresVK_EXT_image_view_min_lodand a subgroup size of 32 or 64 (core/kyty/graphics/presentation/window/vulkanWindow.cpp). Make selection accept lavapipe for the replay tests, with shaders unchanged on GPUs that have wave32 or wave64, and shrink the skip list. Discussion and constraints are in #206. - Frame capture from the Kyty driver (#212).
agc_frame_replayreplays a recorded frame offline andtools/frame_replay_compare.pycompares two replays, but the recorder (FrameRecorder,APS5_FRAME_CAPTURE) belongs to the previous driver. Record captures from the Kyty driver so a rendering bug can become an offline test. Discussion in #212. - Sanitizer failures.
.github/sanitizer-known-failures.txtlists 16 tests that fail under ThreadSanitizer or AddressSanitizer, each with its cause. Most of the AddressSanitizer ones stop because the ASan build moves the guest arena out of the range the tests assume (fixed guest addresses, arena checks): making the tests, or the arena placement, ASan-aware removes many lines at once. Pick one, fix it, and remove its line. - The progress scanner.
tools/progress.pyfails onAnyKytywith "is not a source tree" because it still reads the removedcore/shadertree for its shader numbers, and its workflows only run onmain. Make the library scan work on its own (and onAnyKyty), and keep the pull-request report (--compare). It is the tool the calls above use for their counts. - Export coverage. Libraries with large export counts but few tests: pick one and add tests for its edge cases (null pointers, bad handles, zero sizes), following
core/libs/tests/GuestKernelBarrierInitBounds.cpp.
Expected result
Fewer skipped tests, one more way to turn a field report into a repeatable case, fewer known failures, and a scanner that works on the current line.
How to test without our games
The pieces above are the tests themselves. Use tools/lavapipe_tests.sh for the lavapipe list, ctest for the rest, the sanitizer builds described in docs/dev/BUILD.md, and a small Python test for the scanner.
Difficulty
Medium; good first issue for the export coverage and for the simplest sanitizer failures.
Who to ask
Ask in this issue, or in #206 and #212 for those two pieces.
Rules that apply to every call
- Comment on the issue before you start, so two people do not do the same work. One topic per pull request, against
AnyKyty. - Conventional Commits (
fix(libkernel): ...,feat(libScePad): ...,test(...),docs: ...). No comments in code. Nothing specific to one title: no title IDs, no data taken from a game, no per-title branches. - Every export either does exactly what it should or throws: an unimplemented export calls
NotImplemented_nid_no_patch(__func__). A silent stub is allowed only when it unblocks a title and only affects the UI; list it under "Silent stubs" in the library's file indocs/dev/debt/through a fragment (docs/dev/debt/changes/<branch>.md, seedocs/dev/TechnicalDebt.md). - Say where a behaviour comes from: public SDK headers and documentation, a published reverse-engineering write-up, or your own analysis of your own console's system modules. Do not post or attach firmware files, system modules or game files.
- Each test finishes in 30 s on the CI runners.
python3 tools/check_conventions.py --base origin/AnyKytymust pass before you push. - Build and test:
docs/dev/START_HERE.mdanddocs/dev/BUILD.md. CI runs the library tests on GitHub's runners (no GPU, no game) on Linux and Windows.
- Lenguaje dominante
- C++
- Estrellas
- 214
- Forks
- 7
- Merge medio
- 7 h 53 min
- PR fusionados (30 d)
- 280
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de simnJS/AnyPS5
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
simnJS/AnyPS5#735 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
simnJS/AnyPS5#721 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
simnJS/AnyPS5#716 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Call for contributions: Windows, AMD and Intel validation (run the tests on your hardware)Posiblemente ocupada @adam25136 la tomó hoy. Abiertoarea: tools-ci area: windows good first issue help wanted needs: AMD needs: Windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
simnJS/AnyPS5#705 · 8 comentarios ·
Los mantenedores suelen responder en 1 día
-
kyty: kyty_shim_rt_context_pick fails pipeline creation with ErrorUnknown on AMD Windows (RX 6800)Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
simnJS/AnyPS5#741 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de simnJS/AnyPS5
Issues similares
-
area:tests kind:test
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
[Bug] Windows 文件传输无法打开含中文的本机主目录Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
? - Needs Triage bot_watch bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/cudf-spark-jni#5594 ·
Los mantenedores suelen responder en 1 día
-
Branch-master
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
TrinityCore/TrinityCore#32177 ·
Los mantenedores suelen responder en 10 días
-
管理器去掉「回收磁盘空间」「磁盘占用」两个按钮,只留整理磁盘Abiertoarea:manager enhancement kind:ux P3 platform:windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día