Skip to content

fix: upgrade cbauth for thread-safe authentication startup - #70

Merged
lmajano merged 1 commit into
developmentfrom
fix/cbauth-7-thread-safe-startup
Sep 21, 2026
Merged

lmajano merged 1 commit into
developmentfrom
fix/cbauth-7-thread-safe-startup

Conversation

@elpete

@elpete elpete commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Concurrent first requests can receive cbauth's authentication singleton before its storage dependencies are injected, causing isLoggedIn() to fail when accessing session storage. cbauth 7 fixes this by marking the service threadsafe, but cbSecurity's ^6.0.0 dependency excludes that fix.

Update the dependency to ^7.0.0. Add integration coverage for the resolved mapping's thread-safe publication and login/logout through cbSecurity's real cbauth provider. The cbauth 6.1.0-to-7.0.0 source comparison shows that the only authentication-service change is the threadsafe annotation.

Upstream fix: coldbox-modules/cbauth#25

Validation:

  • Dependency installation resolved cbauth 7.0.0.
  • tests.specs.integration.CBSecuritySpec: 3 passed, 0 failures/errors on BoxLang 1.17.4, using the harness /tests/runner.bxm.
  • box run-script format and git diff --check passed.
  • Full suite and Adobe/Lucee checks were not run locally.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

lucee@5 ColdBox ^8.0.0 Test Results

123 tests   123 ✅  8s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

lucee@6 ColdBox ^8.0.0 Test Results

123 tests   123 ✅  5s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

lucee@5 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

lucee@6 ColdBox be Test Results

123 tests   123 ✅  4s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

boxlang-cfml@be ColdBox 8 Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox ^8.0.0 Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox be Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

boxlang-cfml@1 ColdBox 8 Test Results

123 tests   123 ✅  7s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown

lucee@6 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  5s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

@github-actions

Copy link
Copy Markdown

lucee@6 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  6s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

adobe@2023 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  6s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

adobe@2023 ColdBox ^8.0.0 Test Results

123 tests   123 ✅  5s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

adobe@2023 ColdBox be Test Results

123 tests   123 ✅  4s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

adobe@2025 ColdBox ^7.0.0 Test Results

123 tests   123 ✅  6s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@github-actions

github-actions Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

adobe@2025 ColdBox ^8.0.0 Test Results

123 tests   123 ✅  6s ⏱️
  7 suites    0 💤
  1 files      0 ❌

Results for commit 393c0c2.

♻️ This comment has been updated with latest results.

@lmajano
lmajano merged commit 92b18ff into development Sep 21, 2026
48 checks passed
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.

2 participants