[Sprint] sprint-loop-44#40
Merged
Merged
Conversation
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.
Sprint Plan: 2026-05-13 Sprint Loop 44
Sprint Goal
Tighten the shell-scripts maintenance surface by closing one missing regression-test gap in
log.shsource-time initialization and slimming the shared make definitions to match the repo's actual build, package, archive, and release workflow. Linear only had two eligible Backlog issues after applying the required filters, so this sprint intentionally stays small instead of pulling from another state or project.Selected Issues
SUR-2855: SUR-2843 follow-up: add tests/log.bats coverage for caller-override preservation
Description summary: SUR-2843 refactored
bash/log.shsource-time default handling forLOG_DISABLE_*flags, but its plannedtests/log.batsregression coverage was not added. The issue requires tests proving caller pre-setLOG_DISABLE_*values surviveLOG_LEVEL=0defaulting, plus a parallel case proving theLOG_LEVELdefault is still applied when no caller pre-set exists.Rationale: This is a focused test-only follow-up that protects a recently changed logging contract and should be completed before further
log.shchanges rely on the behavior.Definition of Done:
tests/log.batsincludes a test named for SUR-2347 / SUR-2843 that pre-setsLOG_DISABLE_TRACE=falsebefore sourcingbash/log.shwithLOG_LEVEL=0.falseeven though level 0 would otherwise disable TRACE.tests/log.batsincludes a no-pre-set case showingLOG_LEVEL=0derivesLOG_DISABLE_TRACE=true.tests/sur-2347-*.shregression scripts are run if present; none were found during planning.tests/bats/bin/bats tests/log.batspasses.make testandpre-commit run --all-filespass.Dependencies / ordering: Do this first. It is isolated to tests and gives the sprint an early correctness check before touching shared make infrastructure.
SUR-2841: Simplify: standard_defs.mk carries unused Maven/Sonar/FOSSA/toolchain machinery
Description summary:
standard_defs.mkcontains large unused sections for Maven, SonarQube, FOSSA, NPM, docker toolchain bootstrap, cross-project dispatch, and generic archive behavior. The repo'sMakefileonly relies on a smaller set of variables and targets, while CI still callsmake clean build,make package, gatedmake analyze,make test, andmake archive. The issue asks to remove or extract unreferenced machinery and ensure the remaining file maps to actually used targets.Rationale: Reducing this file lowers maintenance cost and avoids confusing build failures from inherited toolchain targets that this repository does not use.
Definition of Done:
Makefile,.github/workflows/ci.yaml,.github/workflows/pre-commit.yaml, and release usage before deleting targets or variables.VERSION,LONG_VERSION,RELEASABLE,MARKERS,build,clean_dirs,archive/archive_git,what_version, andgh-create-draft-release.standard_defs.mk.make clean build,make package,make analyze,make test,make archive,make publish, andmake what_versionsemantics expected by CI.analyzefrom accidental build criticality or keep it as an explicit no-op with a clear repo-local reason.make what_version,make clean build,make package,make test, andmake archivepass locally.pre-commit run --all-filespasses.Dependencies / ordering: Start after SUR-2855. The make cleanup has broader blast radius and should be verified with the full command set.
Risks + Mitigations
gh-create-draft-releasesupport could breakmake publish; keep the target and itsRELEASABLEguard intact.make what_versionbefore and after the cleanup.archivemay depend on marker directory creation; keepbuild_dirs/MARKERSbehavior or update archive prerequisites carefully.make analyze; keep an explicit no-op unless the workflow is changed in the same branch.standard_defs.mkmay be reused by undocumented local workflows; keep the change scoped to issue-listed unused machinery and validate documented commands.tests/log.batsalready has SUR-2347 coverage; avoid duplicating identical assertions by extending coverage to the exactLOG_LEVEL=0override path from SUR-2855.Out of Scope
bash/log.shbeyond test coverage for the existing caller-override contract.standard_defs.mkcleanup.Backlogat planning time.Linear Evidence
Surinisshell-scriptsSurinis, projectshell-scripts, state exactlyBacklog, archived excluded; full descriptions and comments read for every Backlog issue returned; manual label,blockedBy, sub-issue, and open-PR overlap filters applied.Sub-issue Status
No selected or skipped candidate issue had sub-issues in Linear.
Linear State Transitions