Skip to content

Staging/shared module extraction - #1

Merged
fqazzazee merged 3 commits into
mainfrom
staging/shared-module-extraction
Jul 16, 2026
Merged

fqazzazee merged 3 commits into
mainfrom
staging/shared-module-extraction

Conversation

@fqazzazee

Copy link
Copy Markdown
Owner

What this changes

How it was tested

Checklist

  • go test ./... passes in every touched module
  • README / docs/ updated if behavior they describe changed
  • New dependencies (if any) are justified in the PR and added to docs/CREDITS.md

…catalog)

One body instead of hand-synced copies: apps/shared carries yardauth
(moved from hose+valve), the hardening headers (secure.go x3 -> shared/
secure), and the ATT&CK tactic/technique catalog both internal/mitre
packages duplicated. Detection stays app-specific — rules-AST conds in
the bucket, syslog-ng patterns in the valve — each with a test pinning
it to the shared catalog. Apps consume via a replace directive; the
root go.work gives gopls one workspace.
…ardAuthApi)

apps/shared/web/src now holds the components every SPA duplicated, plus
yardAuthApi — the auth/user-management client hose and valve spread into
their api objects. The per-app files of the same names are one-line
re-export shims, so no import site changed. tsconfig paths pin react to
each app's copy for files outside the package; vite resolve.dedupe does
the same at bundle time. Rebuilt dists confirm identical output.
Build context moves from apps/<tool> to apps/ (dockerfile:
<tool>/Dockerfile, one apps/.dockerignore) so images can copy shared/.
CI gains a shared matrix leg and runs GOWORK=off, keeping each module
on its own pinned Go version. Quadlet/README build commands, CONTRIBUTING
and the suite plan updated; the duplication finding in docs/PLAN.md is
recorded as actioned.
@fqazzazee
fqazzazee merged commit 881821f into main Jul 16, 2026
4 checks passed
@fqazzazee
fqazzazee deleted the staging/shared-module-extraction branch July 16, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant