You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "hanahmily (via GitHub)" <gi...@apache.org> on 2026/08/26 03:12:51 UTC

[I] [BanyanDB][RBAC][Sub-TDD A2] Publish immutable credential snapshots through Basic auth [skywalking]

hanahmily opened a new issue, #14018:
URL: https://github.com/apache/skywalking/issues/14018

   Root tracking issue: #13994
   Workflow PR issue: #14014
   Sub-TDD ID: `A2`
   Cycle gate: #14017 must be GREEN on workflow #14014's branch; it is not merged independently.
   
   > [!IMPORTANT]
   > **No independent PR.** This issue tracks one strict RED→GREEN cycle inside
   > workflow #14014. Implement it on that workflow branch, record the evidence
   > in the parent PR checklist, and close it only when the parent PR merges.
   
   ## Size audit
   
   Classification: sub-TDD tracking leaf inside workflow #14014; not an independently mergeable PR leaf
   
   Boundary: `auth.Reloader.Current()` returns an immutable snapshot; initial load/reload builds one candidate and atomically publishes it.
   
   Production activation: existing gRPC and HTTP Basic authentication read credentials through the snapshot-backed auth API.
   
   RED test: `TestReloaderPublishesImmutableCredentialSnapshot`; the seam is absent and current retained `*Config` values alias field-wise mutations.
   
   End to end: one live authenticated standalone connection transitions Alice to Bob after rewrite; malformed YAML leaves Bob usable.
   
   Format/lifecycle scope: only the lifecycle and caller family named above; no protobuf or persisted-format change
   
   Fixtures and oracle: literal actors, groups, status codes, and visible/absent side effects stated in the integration scenario; expectations are not derived from the implementation
   
   Focused suites: the named RED test plus the focused real-liaison integration scenario in workflow #14014
   
   Dependencies present on `main`: the workflow-level prerequisites are recorded above; intra-workflow cycle gates become GREEN on the same branch
   
   Decision: one bounded RED→GREEN cycle, but deliberately no independent PR; workflow #14014 owns the cumulative production activation, E2E, and merge
   
   ## Boundary
   
   `auth.Reloader.Current()` returns an immutable snapshot; initial load/reload builds one candidate and atomically publishes it.
   
   The production caller activated in this cycle is: existing gRPC and HTTP Basic authentication read credentials through the snapshot-backed auth API. Later child
   behavior remains fail-closed or unchanged. Do not add a parallel authorizer,
   generic protobuf field search, or a fourth PR.
   
   ## RED
   
   `TestReloaderPublishesImmutableCredentialSnapshot`; the seam is absent and current retained `*Config` values alias field-wise mutations.
   
   Add and run the named test, then record its observable failure before production
   code for this cycle. The failure must come from the missing production behavior,
   not a source-text assertion or a fixture generated by the implementation.
   
   ## GREEN
   
   Implement the minimum production change that activates only the boundary above.
   Make the named RED test pass, then keep all later workflow executors fail-closed.
   Refactor only after the RED and GREEN evidence is recorded in workflow #14014's PR.
   
   ## Focused integration proof
   
   one live authenticated standalone connection transitions Alice to Bob after rewrite; malformed YAML leaves Bob usable.
   
   This proof uses the real public liaison path and is added to the cumulative
   integration suite in workflow #14014; it is not deferred to another PR.
   
   ## Requirements
   
   R1. retained snapshots never mutate.
   R2. valid reload publishes exactly once.
   R3. invalid/unsafe reload retains snapshot and hash.
   R4. disabled, health-auth, users-only, and `0600` behavior remains compatible.
   
   ## Acceptance criteria
   
   - The named RED test is recorded failing for the stated reason before GREEN.
   - The minimum production activation and focused real-liaison integration proof pass.
   - Expected allow/deny/status/side-effect values come from this issue's literal oracle, not production-derived fixtures.
   - Only the named method/extractor/lifecycle boundary is activated; later cycles remain fail-closed.
   - The parent PR checklist links this cycle's RED, GREEN, refactor, integration, and test evidence.
   - No independent PR is opened; this issue closes only when workflow #14014's single PR merges.
   
   ## Scope
   
   Production/tests: `banyand/liaison/pkg/auth`, compatibility adapters in gRPC/HTTP auth, existing standalone authentication integration.
   
   Cycle entry from the reviewed catalog: A1 GREEN in W-PR1.
   
   Out of scope: every later sub-TDD boundary, OAP E2E, Canopy E2E, and any PR separate from workflow #14014.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BanyanDB][RBAC][Sub-TDD A2] Publish immutable credential snapshots through Basic auth [skywalking]

Posted by "hanahmily (via GitHub)" <gi...@apache.org>.
hanahmily closed issue #14018: [BanyanDB][RBAC][Sub-TDD A2] Publish immutable credential snapshots through Basic auth
URL: https://github.com/apache/skywalking/issues/14018


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [BanyanDB][RBAC][Sub-TDD A2] Publish immutable credential snapshots through Basic auth [skywalking]

Posted by "hanahmily (via GitHub)" <gi...@apache.org>.
hanahmily commented on issue #14018:
URL: https://github.com/apache/skywalking/issues/14018#issuecomment-5425993240

   This tracking issue is withdrawn. Its TDD round remains an internal checklist item in workflow #14014; only the three workflow issues #14014, #14015, and #14016 are sub-issues of #13994, and no round owns an issue or PR.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org