mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-21 12:42:17 +01:00
Prune two oldest evidence artifacts
main CI went red: docs/superpowers/evidence held 61 files, over the 60 cap (repo-size-cap hook). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
77a5552626
commit
794123c2c9
@ -1,36 +0,0 @@
|
||||
{
|
||||
"intent": "check_compulsive_blocker stops reporting a messaging app as wrapped when its package was removed and only /usr/bin/<app>.orig (the real launcher, a blocker bypass) is left; the repair deletes it.",
|
||||
"scope": [
|
||||
"linux_configuration/periodic_background/lib/services_apps.sh, linux_configuration/periodic_background/lib/tests/test_services_apps.sh",
|
||||
"Installer/hook side lives in digital-wellbeing (commit 6867f29); non-goal: no change to the full-installer repair path"
|
||||
],
|
||||
"changes": [
|
||||
"_pkg_owns_path reads ${SYSROOT}/var/lib/pacman/local/*/files (0 owned, 1 unowned, 2 undeterminable) instead of calling the wrapped pacman",
|
||||
"A .orig on an unowned /usr/bin/<app> is a warning 'stale <app>.orig left after package removal' and is removed via run (plus a dangling wrapper) unless --status; an unreadable db never prunes"
|
||||
],
|
||||
"verification": [
|
||||
{
|
||||
"command": "periodic_background/lib/tests/run_all.sh",
|
||||
"result": "pass",
|
||||
"evidence": "test_services_apps.sh 38 passed 0 failed (new cases fail 8/38 against HEAD); all services suites pass"
|
||||
},
|
||||
{
|
||||
"command": "vmbox guest cco: check_compulsive_blocker on a real stranded /usr/bin/discord.orig",
|
||||
"result": "pass",
|
||||
"evidence": "--status: warning, file kept; repair: FIXES=1, file gone; rerun: ok. Passed in vmbox, not verified on the host"
|
||||
},
|
||||
{
|
||||
"command": "shellcheck -x services_apps.sh test_services_apps.sh",
|
||||
"result": "pass",
|
||||
"evidence": "clean"
|
||||
}
|
||||
],
|
||||
"risks": [
|
||||
"A package that ships the app under a different path than /usr/bin/<app> would make its .orig look stale",
|
||||
"The host's next periodic run will delete /usr/bin/discord.orig itself"
|
||||
],
|
||||
"rollback": [
|
||||
"git revert the commit",
|
||||
"Run check_and_enable_services.sh --status and confirm the compulsive_blocker section"
|
||||
]
|
||||
}
|
||||
@ -1,36 +0,0 @@
|
||||
{
|
||||
"intent": "Every script installed to /usr/local/bin is a tracked repo file: sync-dot-cert.sh is installed from linux_configuration/scripts/ instead of being generated from a heredoc.",
|
||||
"scope": [
|
||||
"linux_configuration/scripts/sync-dot-cert.sh, linux_configuration/features/setup_dot_resolver.sh, linux_configuration/features/lib/dot_resolver_install.sh, linux_configuration/features/lib/tests/test_dot_resolver_install.sh",
|
||||
"Non-goal: stunnel config and units stay generated; deluge-fix-lt.py is not in this commit (repo lint blocks a verbatim copy)"
|
||||
],
|
||||
"changes": [
|
||||
"scripts/sync-dot-cert.sh takes <domain> <caddy-container> <cert-dir> (defaults = the installer's) instead of baking them in; install_cert_sync does sudo install -m 755 of it and dies if it is missing",
|
||||
"dot-cert-sync.service ExecStart and the installer's first sync pass the three arguments, so a non-default --domain reaches the timer; unused cert_source_dir removed"
|
||||
],
|
||||
"verification": [
|
||||
{
|
||||
"command": "shell_coverage_jail.sh --subject features/lib/tests/test_dot_resolver_install.sh <jail_args> --min 0 --fail-on-case-error",
|
||||
"result": "pass",
|
||||
"evidence": "no case errors; a mutated sync script (reload removed) makes the jail fail"
|
||||
},
|
||||
{
|
||||
"command": "vmbox guest cco: install_cert_sync + install_units as root over a stale generated copy, then the installed script against a docker shim",
|
||||
"result": "pass",
|
||||
"evidence": "installed == tracked (cmp), 755 root, ExecStart passes domain/container/dir, docker cp paths identical to the live script, second run silent. Passed in vmbox, not verified on the host"
|
||||
},
|
||||
{
|
||||
"command": "shellcheck -x on the four shell files",
|
||||
"result": "pass",
|
||||
"evidence": "clean"
|
||||
}
|
||||
],
|
||||
"risks": [
|
||||
"The live /usr/local/bin/sync-dot-cert.sh and dot-cert-sync.service stay the old generated ones until setup_dot_resolver.sh is re-run",
|
||||
"A bare manual sync-dot-cert.sh run uses the defaults, which must track the installer's constants"
|
||||
],
|
||||
"rollback": [
|
||||
"git revert the commit and re-run setup_dot_resolver.sh",
|
||||
"Check systemctl start dot-cert-sync.service and setup_dot_resolver.sh --check"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user