Skip to content

Single source of truth for authbridge-lite exclude-tag list #854

Description

@evaline-ju

Background

The exclude_plugin_* tag list that defines the authbridge-lite build is currently duplicated in four places:

Plus prose in authbridge/CLAUDE.md and the root CLAUDE.md.

All four code copies agree today. The concern (raised by @mrsabath and @huang195 during review of #850, both non-blocking) is drift risk: a missing exclude tag fails open — the plugin silently compiles in, the binary just gets bigger — so a copy that drifts produces a -lite tarball that no longer matches the authbridge-lite image with no build error.

Timing matters here:

Proposal

Extract the list to one location that all four consumers read:

  • Option A: a repo-level env var / composite action set once in a shared file.
  • Option B: a .github/lite-tags or similar file that shell / workflows / prose all reference.
  • Option C: derive from the plugin registry directly in build tooling (harder — plugins declare themselves via //go:build !exclude_plugin_<name> markers; a small go run step could enumerate them).

Non-blocking on any one PR; the next person to add or remove a plugin from the lite set is the one who pays.

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions