• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / 2bcb66c8-e984-4bc8-a178-8a8cea581589
45%
main: 45%

Build:
Build:
LAST BUILD BRANCH: julianlaneve/standalone-pump-hardening
DEFAULT BRANCH: main
Ran 22 Apr 2026 06:11PM UTC
Jobs 1
Files 194
Run time 9s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2bcb66c8-e984-4bc8-a178-8a8cea581589

Pull #2093

circleci

jeremybeard
Migrate CLI to v1 public API; retire v1beta1 and v1alpha1 (except IDE)

Retires the astro-client-core (v1alpha1), astro-client-iam-core
(iam/v1beta1), and astro-client-platform-core (platform/v1beta1)
generated clients in favor of a single unified astro-client-v1 built
from the public versioned/v1.0 spec released in astronomer/astro#37986.

- New: astro-client-v1/ — unified client with Organization, Workspace,
  Cluster, Deployment, Deploy, User, Team, ApiToken, Environment,
  Authorization, and other tags.
- Renamed: astro-client-core/ → astro-client-v1alpha1/, shrunk to
  IDE-only (Polaris Project, Polaris Session).
- Deleted: astro-client-iam-core/, astro-client-platform-core/,
  cloud/platformclient/.
- Two endpoints stay on v1alpha1 because the server has no v1
  equivalent: private/v1alpha1/cli/auth-config and /v1alpha1/telemetry.

Structural adaptations required by v1:
- ApiToken: scope is carried on the token itself; per-scope CRUD
  endpoints collapse to CreateApiToken / UpdateApiToken /
  UpdateApiTokenRoles / RotateApiToken / DeleteApiToken. Token creation
  is now a two-step CreateApiToken + UpdateApiTokenRoles flow.
- Users/teams: role mutations go through UpdateUserRoles /
  UpdateTeamRoles with full-role-set replacement.
- Deployment create/update: most optional fields are pointer-typed;
  wrappers absorb the shape changes. Client-side defaults for optional
  fields (scheduler size, hybrid scheduler AU/replicas, default worker
  queue, task-pod node pool) are removed — the server applies defaults.
- Deployment: WorkloadIdentity → EffectiveWorkloadIdentity.
- Deploys: UpdateDeploy(BundleTarballVersion) → FinalizeDeploy.
- Deploy git metadata: v1 CreateDeployGitRequest wired in with GITHUB
  and GENERIC provider branches (remoteUrl for non-GitHub SSH remotes).

Other cleanups in scope:
- Use Go 1.26 new() builtin for pointer init; drop the ptrOf helper.
- Drop 'core client' vocabulary from the live tree; rename type alias
  CoreClient → A... (continued)
Pull Request #2093: Migrate CLI to v1 public API; retire v1beta1 and v1alpha1 (except IDE)

23858 of 53281 relevant lines covered (44.78%)

7.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2bcb66c8-e984-4bc8-a178-8a8cea581589.1 22 Apr 2026 06:11PM UTC 194
44.78
Source Files on build 2bcb66c8-e984-4bc8-a178-8a8cea581589
  • Tree
  • List 194
  • Changed 48
  • Source Changed 47
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #2BCB66C8...
  • Pull Request #2093
  • PR Base - main (#890248B6...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc