Repository navigation
Add CODEOWNERS, AGENTS.md, and GitHub Actions CI workflows - #12
Merged
Merged
Conversation
lgirdwood
force-pushed
the
ci/codeowners-and-workflows
branch
2 times, most recently
from
December 3, 2026 14:39
efb8a71 to
2caa276
Compare
Import typing.Set in testbench.py and ComponentPerfItem in window.py so deferred type annotations resolve cleanly under static analysis (ruff F821). Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Call Gtk.init_check() and skip test_edge_texture_key_distinguishes_equal_length_traces when Gdk.Display.get_default() is None, preventing a SIGSEGV in libgtk-4 on headless systems without X11 or Wayland. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add root CODEOWNERS assigning @lgirdwood as the default owner for the repository and @singalsu as co-owner of /sof-testbench/. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Add GitHub Actions CI checks aligned with SOF conventions:
- .github/workflows/ci.yml:
* python-tools: xvfb-run make check, unittest discovery, wheel builds
and isolated /tmp CLI/import smoke tests, and desktop-file-validate.
* remote-server-linux: GCC and Clang matrix for Make, CMake/Ninja,
-DNO_ALSA compile check, and CLI usage smoke checks.
* remote-server-android: Android NDK cross-compile for arm64-v8a and
x86_64 via Make and CMake.
* packaging: .deb and .rpm builds, DESTDIR install/uninstall check,
and dpkg install/smoke/removal verification.
- .github/workflows/codestyle.yml: strict yamllint, SPDX header check,
bash -n shell syntax check, ruff fatal lint (E9, F63, F7, F82), and
commit message validation.
- .github/workflows/zizmor.yml: GitHub Actions security analysis via
zizmor with PR annotations.
- scripts/check_commits.py (+ unit tests): enforce subject prefix and
length (<= 75 chars), blank separator line, 75-char body line wrap,
and Signed-off-by trailer.
- west.yml: add leading '---' document-start marker for yamllint.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Adapt thesofproject/sof AGENTS.md for sof-utils, covering repository layout, commit subject/wrap/sign-off standards, SPDX and documentation rules, C/Python/YAML/shell/desktop lint standards, packaging and protocol synchronization, headless GTK4 test rules, and local pre-PR verification commands. Add a relative CLAUDE.md -> AGENTS.md symlink. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
lgirdwood
force-pushed
the
ci/codeowners-and-workflows
branch
from
December 3, 2026 19:48
c8fc0dd to
6915ddb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add repository code ownership (
CODEOWNERS), agent guidelines (AGENTS.md+CLAUDE.mdsymlink), and GitHub Actions CI checks aligned withthesofproject/sofconventions:CODEOWNERS: Assigns@lgirdwoodas default owner for the repository and@singalsuas co-owner of/sof-testbench/.AGENTS.md&CLAUDE.md(-> AGENTS.md): Adapted fromthesofproject/sofforsof-utils, covering repository layout, commit subject/75-char wrap/sign-off rules, SPDX and documentation standards, C/Python/YAML/shell/desktop lint standards, packaging & wire-protocol sync rules, headless GTK4 test guidelines, and pre-PR verification commands..github/workflows/ci.yml:python-tools:xvfb-runheadlessmake check(py_compile+sof-ucmunit tests), automatic*/testsunittestdiscovery (sof-ucmandscripts), wheel builds + isolated/tmpCLI--help& module import verification forsof-builder,sof-ucm, andsof-top, anddesktop-file-validate.remote-server-linux: GCC and Clang matrix for Make, CMake/Ninja,-DNO_ALSAcompile check, and-husage smoke checks.remote-server-android: Android NDK cross-compile forarm64-v8aandx86_64via Make and CMake.packaging:.deband.rpm(RPMBUILD="rpmbuild --nodeps"on Ubuntu) builds,DESTDIRinstall/uninstall cleanliness check, anddpkg -i-> CLI smoke tests ->desktop-file-validate->dpkg -rremoval verification..github/workflows/codestyle.yml:yamllint(--strict, max line length 100) on.github/workflows/*.ymlandwest.yml(adds missing---header towest.yml).spdx-check: verifiesSPDX-License-Identifier:headers on tracked source/build/workflow files.shell-syntax:bash -non tracked.shscripts.python-lint:ruff check --select E9,F63,F7,F82(also fixes two missing type-annotation imports insof-builder:typing.Setintestbench.pyandComponentPerfIteminwindow.py).commit-messages: runsscripts/check_commits.pyto enforce<prefix>: <description>subjects (<= 75chars, no trailing period, noWIP/fixup!), blank separator line, 75-char body wrap (exempting trailers/URLs), noChange-Id:, and validSigned-off-by: Full Name <email>..github/workflows/zizmor.yml:zizmorwith inline PR annotations (advanced-security: falseso fork PRs work withoutsecurity-events: write).sof-ucm/tests/test_tplg_and_graph.py: Guards the GTK4UcmGraphCanvaswidget test withGtk.init_check()/Gdk.Display.get_default()so headless systems without X11/Wayland skip cleanly instead of segfaulting.Notes
sof-testbenchandsof-tplg-parserCI is deferred to a follow-up PR once synced with upstreamthesofproject/sofmain'ssrc/kerneldirectory split.@singalsucurrently hasreadaccess onthesofproject/sof-utilsand will need Write/Maintain permission for GitHub to clear theCODEOWNERSwarning and enforce his review on/sof-testbench/.