Repository navigation
Ci Implementation M18
Published documentation mirror. Edit the source through a repository PR. See Project status.
Historical baseline and design contract. For current implemented behavior and acceptance evidence, see project status. Future requirements and original milestone-specific test counts below are not release claims.
State as of M1.9 planning: Maintainer reports all nine M1.8 PR checks
passed (seven build matrix jobs, policy, and QML static analysis), and local
reuse lint passed with 111/111 files covered. This is user-supplied M1.8
acceptance evidence, not a new M1.9 hosted-run result. Repository ruleset
configuration remains a separate manual verification step.
The workflow .github/workflows/ubuntu-26-04.yml runs for PRs, pushes to main,
and manual dispatch. Every job uses ubuntu-26.04, explicit contents: read,
SHA-pinned checkout with persist-credentials: false, no secrets, no publish
permissions, no Docker, and no access to real monitoring interfaces or home-LAN
telemetry. Runner provisioning uses Ubuntu archive packages and will record
actual resolved versions in the GitHub log; it is not yet a version-locked
release build or redistribution approval. Dependency approvals remain governed
by the existing register.
The seven build matrix lanes are linux-release (13 CTests), linux-debug
(13), linux-sanitize (10), linux-clazy (13), linux-analysis (13),
linux-core-only (5), and linux-sanitize-core-only (6). The job must configure,
compile, check binary presence against CTest inventory, run all CTests,
and verify hardening. The sanitizer presets retain existing first-party leak
negative controls and their specifically scoped QML third-party exceptions.
There are no mandatory real-network tests at M1.8.
The policy job executes all documentation verification scripts, source
formatting hygiene (trailing whitespace/newlines, not yet a complete
clang-format style baseline), the M1.8 workflow-security source checker, and
the official reuse lint tool. The separate qml job runs the Qt-generated
knetsentry_qmllint target using distribution-provided Qt/Kirigami packages.
QML-lint failures must be resolved rather than silently ignored; initial CI
baseline behavior is not yet observed. clang-tidy and Clazy operate through
existing actual build presets, not merely through version commands.
No test results or binaries are uploaded by default, to reduce the chance of
publishing sensitive absolute paths, diagnostic data or future fixtures. Build
failure is preserved and cannot be converted into success by missing tools,
zero tests or continue-on-error.
python3 scripts/verify_m18_ci.py --format
for script in scripts/verify_m*.py; do python3 "$script" || exit 1; done
reuse lintGitHub-hosted M1.8 PR results established that packages, clang-tidy/Clazy, QML lint, all seven build/test lanes and policy checks ran successfully on that accepted revision. A new workflow revision must qualify independently.
Once this workflow produces passing PR checks, add required status checks
by exact job name: policy / licenses and sources,
qml / static analysis, and all seven named matrix ... / compile and test
checks, or use an approved ruleset with equivalent enforcement. Use the actual
check names displayed by GitHub. Enable required checks only after their first
successful run. Do not claim branch protection is configured from files alone.
Review workflow changes with particular care because malicious PR code can
modify CI instructions. Maintainer self-review is not independent review.
- M1.8 GitHub Actions PR execution: PASS reported by maintainer (9 jobs); M1.9 changed workflow: NOT YET VERIFIED.
- Official
reuse linton accepted M1.8: PASS (111/111 reported); M1.9 final source must be rechecked. -
knetsentry_qmllintfor accepted M1.8: PASS reported; M1.9 final revision requires another hosted run. - Full clang-format/qmlformat baseline and enforceable style policy: NOT IMPLEMENTED; whitespace/newline formatting hygiene is implemented.
- Artifact signing, SBOM, package rights, and full security qualification: deferred to later approved milestones.
The first M1.8 local reuse lint execution reported 12 Python tools as
missing licensing information. Those files already carried valid, unchanged
MIT copyright/license headers. REUSE also searched their assertion source
and interpreted extra literal license-tag examples as malformed SPDX license
expressions. For example, a Python expression testing a document header
was mistaken for another declaration inside the Python tool itself.
This corrective change replaces only the hyphen in embedded Python string
literals with the equivalent Python escape \x2d. When Python evaluates
the literals, the resulting string is byte-for-byte the same as before.
The actual leading SPDX headers remain in their normal, human-readable form;
no licensing assignment, redistribution declaration, test assertion, or
production source was changed. An additional M0.4 verifier literal beyond
the set reported by the installed tool was updated proactively to prevent
future full-file scanners from encountering the same false positive.
python3 scripts/verify_m18_ci.py --format now rejects additional literal
SPDX-license markers outside the real script headers. This is a defensive
source check not a replacement for the official tool. M0.6 and all later
policy verifiers must continue passing to demonstrate that their effective
license checks have not changed. The CI policy job still runs unmodified
reuse lint and must fail if REUSE reports any remaining issue.
- Run
reuse linton a clean checkout of this exact PR revision; require successful exit status and the positive compliance summary. - Run every
scripts/verify_m*.pyscript and the M1.8 formatting hygiene command; verify all pass. - Run the Release and sanitizer CTest presets; ensure original test counts (13 and 10) and their security negative controls are unchanged.
- Confirm the GitHub-hosted
policy, seven matrix lanes, andqmljob pass on the corrective commit before merge.
This local source-level correction was prepared without a working reuse
installation in the build environment. Therefore official REUSE compliance
is not claimed until the user's Ubuntu host or GitHub Actions policy job
executes the tool successfully.
CI now uses scripts/ci/install_dependencies.sh for per-preset package
selection, avoiding Qt/Kirigami in the two core-only lanes. The helper skips
APT refresh/install when direct packages are installed. No shared cache or
root-owned APT-state restore is introduced. See
CI efficiency details and the separate M1.9
verification gate. Existing named jobs and required test counts remain
unchanged. Actual speed improvement is not quantified until the updated
GitHub job logs are inspected.
Source repository · Documentation index · License policy
Documentation mirror — CC-BY-SA-4.0. KnetSentry is not an official KDE project.