Skip to content

chore: add prerelease SDK packaging#397

Merged
calvarjorge merged 5 commits into
mainfrom
chore/prerelease-packaging
May 21, 2026
Merged

chore: add prerelease SDK packaging#397
calvarjorge merged 5 commits into
mainfrom
chore/prerelease-packaging

Conversation

@calvarjorge
Copy link
Copy Markdown
Contributor

@calvarjorge calvarjorge commented May 21, 2026

Objective

When packing a template, we want to have the artifacts have the following naming format:

  • Template zip: appkit-template-<version>-pr.<shortsha>-<branch>-<pr_number>.zip
  • Tarballs: databricks-<package>-<version>-pr.<shortsha>.tgz

The objective is for it be clear what code is contained in an artifact. In the future, we can consider doing actual feature commit releases (for instance, having a tag and publish the template artifact) so that testing AppKit is easier.

Changes

  • Add --prerelease <shortsha> support to appkit and lakebase dist scripts.
  • Add package-level tarball:prerelease scripts and a root pack:prerelease command.
  • Update template artifact preparation to discover databricks-*.tgz files from package tmp directories.
  • Update CI PR template artifact naming to appkit-template-<version>-pr.<shortsha>-<branch>.zip.

Test Plan

  • Template artifact builds correctly.
  • Ran pnpm pack:prerelease.
  • Ran pnpm exec tsx tools/prepare-template-artifact.ts --output-dir pr-template-check.
  • Verified appkit prerelease dist references the lakebase prerelease tarball.
  • Ran targeted Biome checks and lints.

Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
@calvarjorge calvarjorge requested a review from a team as a code owner May 21, 2026 13:03
@calvarjorge calvarjorge requested a review from pkosiec May 21, 2026 13:03
Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
Copy link
Copy Markdown
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add the pr number to the artifact name? Thanks!

Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown
Member

@pkosiec pkosiec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but please add the PR number to the file name if possible, as it would be even more helpful 👍 and see the agentic review findings. Thanks!

Signed-off-by: Jorge Calvar <jorge.calvar@databricks.com>
@calvarjorge calvarjorge enabled auto-merge (squash) May 21, 2026 15:34
@calvarjorge calvarjorge merged commit 5e90cc0 into main May 21, 2026
9 checks passed
@calvarjorge calvarjorge deleted the chore/prerelease-packaging branch May 21, 2026 15:35
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