Commit Graph

2542 Commits

Author SHA1 Message Date
Fredrik Adelöw 5d841af5d0 chore: add 'unregisters' to Vale vocabulary
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
2026-04-16 12:15:49 +02:00
Johan Persson 9400de4999 add monopackage/monopackages to vale vocabulary
Signed-off-by: Johan Persson <johanopersson@gmail.com>
2026-04-15 12:32:17 +02:00
Aramis Sennyey 2b4f97adf7 docs: frontend plugin golden path (#33541)
* docs: frontend plugin golden path guide

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* add changeset

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestion from @aramissennyeydd

Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix template

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix template test

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* print stderr on failure

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* try writing directly

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* maybe this?

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* address feedback

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix: avoid destructuring FetchApi and fix template issues

- Use fetchApi.fetch() instead of destructuring to preserve this binding
- Add discoveryApi and fetchApi to useAsync dependency array
- Use react-use/esm/useAsync to match repo conventions
- Replace waitFor + getAllByText with findByText in error test
- Update HTTP client doc to match template changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix: address docs review feedback

- Use stronger guidance tone in scaffolding guide intro
- Slim down file tree to show folder structure only
- Mention that plugin path depends on chosen plugin ID
- Link to installation docs for non-discovery case
- Quote page:todo YAML key to avoid parse errors
- Remove "new" from "new frontend system" in template README

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix: improve error handling in e2e plugin creation

- Narrow error to non-null object before using in operator
- Also write error.stdout since tools like Jest report to stdout
- Avoid variable shadowing with outer scope stdout/stderr

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* revert: keep destructured fetch from FetchApi

Destructuring fetch from FetchApi is fine — revert to original
pattern while keeping the dependency array and other fixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* feat: use @backstage/ui components in frontend plugin template

Replace core-components layout and table with @backstage/ui equivalents:
- Use HeaderPage and Container instead of Page, Header, Content, ContentHeader
- Use BUI Table with useTable and CellText instead of core-components Table
- Add @backstage/ui to template package.json dependencies
- Update poking-around docs to reflect BUI component usage

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix: add example data when backend request fails

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* better logging setup

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* address feedback

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* better config driven example

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* debug logs

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix build failure related to unknown version

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* revert e2e run changes

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

* skip the discovery api for now

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* remove another ref

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-10 14:00:55 -04:00
Patrik Oldsberg d10af0be6d Merge pull request #33657 from backstage/rugvip/replace-discord-action
workflows: replace Ilshidur/action-discord with inline github-script
2026-03-30 20:28:04 +02:00
Fredrik Adelöw 6cc48113fc remove some cli deprecation warnings
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-30 09:44:30 +02:00
Patrik Oldsberg 0cb1189130 workflows: add Discord notification for ready PRs (#33655)
* workflows: add Discord notification for ready PRs

Adds a new workflow that posts to Discord whenever a pull request is
opened as non-draft or marked as ready for review. Uses jq to safely
construct the JSON payload and sends it via curl to a webhook URL
stored in repository secrets.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

* workflows: harden Discord webhook notification

Add early guard for missing webhook secret, disable Discord mention
parsing to prevent abuse via PR titles/bodies, and check the HTTP
response to surface webhook failures.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

* workflows: upgrade github-script to v8 and truncate embed title

Align actions/github-script pin with the rest of the repo (v8.0.0)
and truncate the Discord embed title to the 256-character limit to
prevent webhook failures on long PR titles.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor

---------

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-03-28 15:44:47 +01:00
Patrik Oldsberg 18c928175d workflows: replace Ilshidur/action-discord with inline github-script
Replace the third-party Discord notification action with inline
`actions/github-script@v8` steps that post to the Discord webhook
directly using fetch. This removes a third-party action dependency
and adds explicit error handling for missing secrets and failed
webhook requests.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-28 13:07:38 +01:00
Fredrik Adelöw 76769c8be7 Merge pull request #33496 from backstage/renovate/github-codeql-action-4.x
chore(deps): update github/codeql-action action to v4.34.1
2026-03-27 11:43:25 +01:00
Fredrik Adelöw 7ca5846bff Merge pull request #33502 from backstage/renovate/microsoft-setup-msbuild-3.x
chore(deps): update microsoft/setup-msbuild action to v3
2026-03-27 11:43:07 +01:00
renovate[bot] 4975a14a38 chore(deps): pin dependencies
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-27 00:58:06 +00:00
renovate[bot] 3207f9d1c4 chore(deps): update microsoft/setup-msbuild action to v3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-26 16:11:54 +00:00
renovate[bot] 5e1f181f74 chore(deps): update github/codeql-action action to v4.34.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-26 16:11:24 +00:00
Patrik Oldsberg fe6f4a03ab docs: add frontend system migration skills
Add three new skill documents for migrating to the new Backstage frontend system:

- App migration (old app-defaults to new frontend-defaults)
- Plugin dual-support (adding new system support while keeping old system working)
- Plugin full migration (completely moving to the new frontend system)

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-25 09:58:27 +01:00
Aramis Sennyey 7f26ea88c5 docs: add documentation style guide for Backstage contributors (#33538)
* docs: add documentation style guide for Backstage contributors

Adapted from the Kubernetes documentation style guide, tailored
for the Backstage project with Backstage-specific terminology,
Docusaurus conventions, tone guidelines, and project word list.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* docs: soften "we" guidance and link style guide from CONTRIBUTING.md

Relax the "avoid we" rule to allow "we" in tutorials and walkthroughs
where it means "you and I, working through this together." Also add
references to the style guide from CONTRIBUTING.md and AGENTS.md.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

* fix link checker

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* skip block

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* address feedback

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 15:44:35 +01:00
Fredrik Adelöw 10e7e657b3 Merge pull request #33456 from backstage/renovate/actions-cache-digest
chore(deps): update actions/cache digest to 6682284
2026-03-20 11:14:32 +01:00
renovate[bot] b445d25735 chore(deps): update actions/cache action to v5.0.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:30:54 +00:00
renovate[bot] 0e3942620b chore(deps): update actions/cache digest to 6682284
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-20 09:30:46 +00:00
Fredrik Adelöw e7cfb0cc8e Merge pull request #33306 from backstage/renovate/windows-2025.x
chore(deps): update dependency windows to v2025
2026-03-20 10:24:20 +01:00
Fredrik Adelöw dd5cc5be52 Merge pull request #33307 from backstage/renovate/docker-build-push-action-7.x
chore(deps): update docker/build-push-action action to v7
2026-03-20 10:24:00 +01:00
Fredrik Adelöw c7abbf0373 Merge pull request #33311 from backstage/renovate/docker-login-action-4.x
chore(deps): update docker/login-action action to v4
2026-03-20 10:23:45 +01:00
Fredrik Adelöw f62aff93e8 Merge pull request #33314 from backstage/renovate/docker-setup-buildx-action-4.x
chore(deps): update docker/setup-buildx-action action to v4
2026-03-20 10:23:11 +01:00
Fredrik Adelöw ed3f0f9f0d Merge pull request #33315 from backstage/renovate/major-github-artifact-actions
chore(deps): update github artifact actions (major)
2026-03-20 10:22:06 +01:00
Fredrik Adelöw 57926b473b Merge pull request #33320 from backstage/renovate/github-codeql-action-4.x
chore(deps): update github/codeql-action action to v4
2026-03-20 10:20:49 +01:00
Patrik Oldsberg f3b5a8b5bb Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2026-03-18 00:43:55 +01:00
Patrik Oldsberg 37f91e926f docs: add v1.49.0 release notes
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-17 20:25:00 +01:00
James Brooks 05594087b9 Add virtualized prop to Table component (#33246)
Adding a new virtualized prop to the Table component to better support rendering large numbers of rows
2026-03-17 08:31:43 +00:00
renovate[bot] 0dd6794ff7 chore(deps): update github/codeql-action action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-16 10:22:34 +00:00
Aramis Sennyey 269b85ef0d feat: use branch name instead of tag for stable docs (#32614)
* feat: use branch name instead of tag for stable docs

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* test

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* paginate everything

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* different return value

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* update both flows

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* add docs

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Change checkout ref from tags to heads

Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
2026-03-12 11:03:13 -04:00
renovate[bot] b3b081909a chore(deps): update github artifact actions
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-12 12:09:03 +00:00
renovate[bot] 8976bd58fd chore(deps): update docker/setup-buildx-action action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-12 12:08:55 +00:00
renovate[bot] 3de804a11b chore(deps): update docker/login-action action to v4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-12 11:07:50 +00:00
renovate[bot] 293dfe00f1 chore(deps): update docker/build-push-action action to v7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-12 10:05:34 +00:00
renovate[bot] f55c567da3 chore(deps): update dependency windows to v2025
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-12 10:05:25 +00:00
Fredrik Adelöw 2195a2955a Merge pull request #33238 from backstage/renovate/step-security-harden-runner-2.x
chore(deps): update step-security/harden-runner action to v2.15.1
2026-03-12 10:32:44 +01:00
Fredrik Adelöw 040551d99b chore(ci): auto-approve yarn.lock-only dependabot PRs
Add the same auto-approval step that the renovate workflow already has,
so that dependabot PRs that only touch yarn.lock files get approved
automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-11 11:20:17 +01:00
Fredrik Adelöw 60eec59601 Fix missing cancelTask in mock SchedulerService implementations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-09 22:16:33 +01:00
renovate[bot] 132047b4c0 chore(deps): update step-security/harden-runner action to v2.15.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 20:10:06 +00:00
renovate[bot] 2763fa197b chore(deps): update actions/setup-node action to v6.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-09 10:31:08 +00:00
renovate[bot] c850cc77f4 chore(deps): update github/codeql-action action to v3.32.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-07 20:17:50 +00:00
Patrik Oldsberg daa22ce66e Merge pull request #33186 from backstage/rugvip/workflows-renovate-lockfile-auto-approve
workflows: auto-approve renovate yarn.lock-only PRs
2026-03-07 10:43:21 +01:00
Patrik Oldsberg 0a4cdafe23 workflows: auto-approve renovate yarn.lock PRs
Use the service account workflow to auto-approve Renovate PRs that only change yarn.lock files.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-07 05:54:37 +01:00
Vincenzo Scamporlino 02153e57a7 Remove inputs from upgrade-helper workflow dispatch by removing inputs
Inputs aren't needed anymore after https://github.com/backstage/upgrade-helper-diff/pull/11

Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
2026-03-06 11:12:23 +01:00
Fredrik Adelöw 27233a0a2e Merge pull request #32958 from backstage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3.32.5
2026-03-05 22:54:03 +01:00
Fredrik Adelöw 03bcb6e8e8 skip verify on the dependabot pr fixup
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 20:09:46 +01:00
Fredrik Adelöw cc6c579945 ci: add upfront dependabot branch check
Move the branch verification to a separate step right after checkout,
and gate all subsequent steps on its output. Removes the redundant
branch check from inside the changeset generation script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 19:08:22 +01:00
Fredrik Adelöw dda57bdf3d ci: update actions/setup-node to v6.2.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 17:47:48 +01:00
Fredrik Adelöw 5e9e97af08 ci: use node-version 22.x
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 17:47:07 +01:00
Fredrik Adelöw 51a36847ae ci: use yarn dedupe for all lockfiles
All lockfiles in the repo use Yarn 4, so use `yarn --cwd <dir> dedupe`
uniformly instead of npx yarn-deduplicate for subdirectories.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 17:45:45 +01:00
Fredrik Adelöw 619f6d37cb ci: split dedupe/changeset/commit into separate steps
Each step sets an output only if it actually modified files. The
dedupe step checks git diff after running to avoid staging unchanged
lockfiles. A final step commits and pushes only if either step
made changes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 17:14:54 +01:00
Fredrik Adelöw b3076be06b ci: use node 22 for consistency with other workflows
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@spotify.com>
2026-03-05 17:10:23 +01:00