769 Commits

Author SHA1 Message Date
github-actions[bot] 68db890456 Version Packages (next) 2026-05-26 15:26:38 +00:00
github-actions[bot] b97fcb0a93 Version Packages 2026-05-19 18:28:24 +00:00
github-actions[bot] 1cc86bee1c Version Packages (next) 2026-04-21 15:07:43 +00:00
Fredrik Adelöw 8e7f7249e7 chore: regenerate knip reports
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 12:14:47 +02:00
Patrik Oldsberg 3210dbd638 Merge pull request #33782 from UsainBloot/feat/extension-point-middleware
feat(backend): add extensionPointFactoryMiddleware to createBackend
2026-04-15 01:00:53 +02:00
github-actions[bot] 93e643d142 Version Packages 2026-04-14 14:57:31 +00:00
Jack Palmer 28a362f2f7 Remove unused type parameter from ExtensionPointFactoryMiddleware
The generic is no longer needed since the interface is opaque. Type
inference is handled by createExtensionPointFactoryMiddleware instead.

Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
2026-04-10 09:03:12 +01:00
Jack Palmer e782afcb3b Address PR review comments
- Make ExtensionPointFactoryMiddleware an opaque type via new
  @internal/backend package using OpaqueType from @internal/opaque
- Use options object for createExtensionPointFactoryMiddleware
- Make middleware function async (returns Promise<T>)
- Remove extensionPointFactoryMiddleware from createBackend, keep only
  on createSpecializedBackend
- Export defaultServiceFactories from @backstage/backend-defaults

Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
2026-04-09 15:59:44 +01:00
github-actions[bot] 6c10d88c13 Version Packages (next) 2026-04-07 15:30:58 +00:00
Jack Palmer 3595c974f6 feat(backend): add extensionPointFactoryMiddleware to createBackend
Allow the backend to reimplement extension point outputs at creation
time via a new extensionPointFactoryMiddleware option on createBackend().
Each middleware entry declaratively targets a specific extension point
by reference and the framework handles matching and pass-through
automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Jack Palmer <jackpalmer@spotify.com>
2026-04-07 09:44:02 +01:00
Patrik Oldsberg b2319ffe45 errors: add toError utility and migrate assertError usages
Add a `toError` utility function to `@backstage/errors` that converts
unknown values to `ErrorLike` objects. If the value is already error-like
it is returned as-is. Strings are used directly as the error message, and
other values are stringified with a fallback to JSON.stringify to avoid
unhelpful `[object Object]` messages.

Non-error causes passed to `CustomErrorBase` are now converted and stored
using `toError` rather than discarded. Existing `assertError` call sites
across the codebase are migrated to `toError`.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-04-03 10:16:23 +02:00
github-actions[bot] a2cb332e25 Version Packages (next) 2026-03-31 15:30:51 +00:00
github-actions[bot] c1b510cabb Version Packages (next) 2026-03-24 14:54:00 +00:00
github-actions[bot] 5725b5fcfa Version Packages 2026-03-17 21:39:07 +00:00
github-actions[bot] ed7c4e3bef Version Packages (next) 2026-03-10 17:34:12 +00:00
Carl-Erik Bergström 545557a928 feat(backend-app-api): attribute registration errors to plugins/modules (#33029)
* feat(backend-app-api): attribute registration errors to plugins/modules

Signed-off-by: Carl-Erik Bergström <cbergstrom@spotify.com>
2026-03-03 19:12:44 +01:00
github-actions[bot] 4bd6a3a1af Version Packages (next) 2026-02-24 19:24:06 +00:00
github-actions[bot] e6df5d52ce Version Packages 2026-02-17 16:06:18 +00:00
github-actions[bot] 7c41134684 Version Packages (next) 2026-02-10 16:14:59 +00:00
github-actions[bot] d4b85dddee Version Packages (next) 2026-01-27 15:51:11 +00:00
Patrik Oldsberg f1d29b4d4d catalog-backend: attribute provider connection failures to modules
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-01-24 17:06:07 +01:00
github-actions[bot] 2e902e7b43 Version Packages 2026-01-20 16:40:05 +00:00
Sanchit2662 8850a35f9e fix(backend): clean up process event listeners on backend stop
Signed-off-by: Sanchit2662 <sanchit2662@gmail.com>
2026-01-15 00:06:35 +05:30
github-actions[bot] c24788d5bb Version Packages 2025-12-16 14:08:20 +00:00
github-actions[bot] e08f48a9b5 Version Packages (next) 2025-12-09 15:00:09 +00:00
github-actions[bot] 756986e5e7 Version Packages (next) 2025-11-25 16:21:32 +00:00
Patrik Oldsberg 11ae484a05 Merge pull request #31820 from backstage/rugvip/backend-start-result
backend-app-api: add backend startup result reporting
2025-11-24 16:55:47 +01:00
Patrik Oldsberg 32a849124f backend-app-api: sort plugin IDs in init collector
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-22 13:48:02 +01:00
Patrik Oldsberg b595d941e2 backend-app-api: switch test to use mockServices.rootConfig
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-21 18:06:42 +01:00
Patrik Oldsberg 36f98f12d8 backend-app-api: wrap returned result
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-18 20:40:18 +01:00
Patrik Oldsberg 3f4b717b3f backend-app-api: export BackendStartupError
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-18 20:40:17 +01:00
Patrik Oldsberg c38c640001 backend-app-api: update API report
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-18 20:40:17 +01:00
Patrik Oldsberg d69df5a70e backend-app-api: refactor startup tracking and report results
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-18 20:40:17 +01:00
Patrik Oldsberg 595f99a1ea backend-app-api: add createAllowBootFailurePredicate
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-18 20:40:16 +01:00
github-actions[bot] 792f4d7e3d Version Packages 2025-11-18 12:23:09 +00:00
Patrik Oldsberg f0ece16206 backend-app-api: remove debug logging
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-11-06 09:50:45 +01:00
github-actions[bot] 3738293d26 Version Packages (next) 2025-11-04 15:00:26 +00:00
Patrik Oldsberg 3835287df2 Merge pull request #31053 from backstage/sennyeya/instance-metadata-update
feat: promote instance metadata
2025-11-04 13:11:40 +01:00
Patrik Oldsberg 8a2725b100 Merge pull request #31501 from backstage/rugvip/test
backend-app-api: test for module loading rule
2025-10-23 07:57:07 +02:00
aramissennyeydd 769e2b7880 rework logic to explicitly rely on the list of plugins to create the map keys
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 22:31:04 -04:00
Patrik Oldsberg b380354ddd backend-app-api: test for module loading rule
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2025-10-22 23:12:17 +02:00
aramissennyeydd 40104ba92a fix test case regression caused by move to map
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 15:42:13 -04:00
aramissennyeydd ef642fffbe fix api reports
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 13:35:47 -04:00
aramissennyeydd 5e93cfcff2 fix test issues caused by rename
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 12:38:52 -04:00
aramissennyeydd 468f2d8ca7 move alpha instance to default service factories
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 12:38:35 -04:00
aramissennyeydd 4e245210fb add back the alpha entrypoint and update new service to Root...
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
2025-10-22 12:26:39 -04:00
github-actions[bot] 807af8ce0e Version Packages (next) 2025-10-21 16:14:43 +00:00
Patrik Oldsberg b436f73803 Merge pull request #31166 from schultzp2020/constructor-parameters
refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
2025-10-15 18:56:42 +02:00
github-actions[bot] d6ce2db9ca Version Packages 2025-10-14 15:29:54 +00:00
Paul Schultz 05f60e1e0a refactor: convert constructor parameter properties for erasableSyntaxOnly compatibility
Signed-off-by: Paul Schultz <pschultz@pobox.com>
2025-10-14 08:29:21 -05:00