Skip to content

feat: add shared connection runtime for JiraPS - #57

Open
lipkau wants to merge 24 commits into
masterfrom
codex/shared-sessions
Open

lipkau wants to merge 24 commits into
masterfrom
codex/shared-sessions

Conversation

@lipkau

@lipkau lipkau commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Adds named connections with independent product defaults, isolated authentication and lifecycle invalidation for JiraPS.
Connections own credential copies and remain local to one runspace.
Direct disposal removes stale registrations and defaults when the registry is next queried.

Saved profiles contain nonsecret endpoint settings.
Saving preserves live compatibility fields while exporting endpoint projections; portable import/export validates the profiles.
Connection and profile endpoints reject user information, queries, fragments and non-HTTP(S) URLs.
Site URIs preserve supported context paths.

Debug and verbose writers share private parameter redaction before formatting.
They preserve cross-module breadcrumbs, redact authentication, headers, payloads and network-relative URIs, and leave the original dictionary unchanged.
Explicit stream suppression skips formatting even when the caller enables the stream.
Arbitrary message strings remain the caller's responsibility.

Write-AtlassianDebugMessage -BoundParameters $PSBoundParameters -Cmdlet $PSCmdlet
Write-AtlassianVerboseMessage -BoundParameters $PSBoundParameters -Cmdlet $PSCmdlet

Validation:

  • Full local Build, Test and fresh-process lint passed.
  • Regression coverage includes profile persistence, disposal, name/default reuse, authentication isolation, unsafe site URIs, redaction, input preservation and stream suppression.
  • Repository scratch files remain subject to style checks.
  • Current-head CI passed Windows PowerShell 5.1 and PowerShell 7 on Windows, Ubuntu and macOS.

Jira consumer: AtlassianPS/JiraPS#728.
The immutable published 0.3.0-alpha0002 package predates the latest profile, lifecycle, alias and diagnostics changes.
A fresh Configuration alpha and Jira candidate validation remain required before landing the updated package set.
The earlier protected alpha0002 pipeline passed Configuration/Jira engine checks for the published package.
On Windows PowerShell 5.1, cancelling a pipeline can defer temporary-context cleanup until GC or module unload; authentication help documents this limitation.
Prerequisite #56 is merged; release intent remains release:none.

Refs AtlassianPS/JiraPS#194 and AtlassianPS/AtlassianPS#4.


Created by gpt-6 via codex on behalf of @lipkau

Own connection identity, credentials and product defaults in one runtime. Keep portable profiles free of authentication material and validate an exact alpha artifact across consumers.

Refs AtlassianPS/JiraPS#194, AtlassianPS/AtlassianPS#4
@lipkau lipkau added the release:none No release note or version impact label Oct 14, 2026
Base automatically changed from codex/shared-sessions-alpha-tooling to master October 14, 2026 07:10
Windows PowerShell creates backslash ZIP entries. Normalize their separators before matching the single expected manifest, preserving duplicate and exact prerelease validation.
@lipkau
lipkau marked this pull request as ready for review October 14, 2026 08:45

This branch has not been deployed

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

Labels

release:none No release note or version impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant