@sequenceholdings/artifact-studio 0.6.2 → 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -160,9 +160,9 @@ export function validateIngressAgainstServer({ server, ctx }) {
160
160
  ctx.addIssue({ code: 'custom', path: [...at, 'service_account'], message: 'Each ingress needs its own service account' });
161
161
  }
162
162
  serviceAccounts.add(ingress.service_account);
163
- // TODO(C5/P4): these are reference strings, so a UUID here and a slug on the server for the same
164
- // account pass. The binding/attachment step must resolve both to account ids and refuse an
165
- // ingress account equal to the app's account (C5 acceptance item).
163
+ // These are reference strings, so a UUID here and a slug on the server for the same account pass.
164
+ // Atlas's deploy preflight resolves both to account ids and refuses an ingress account equal to
165
+ // the app's or to another ingress's (preflightArtifactAttachments).
166
166
  if (server.service_account !== undefined && ingress.service_account === server.service_account) {
167
167
  ctx.addIssue({ code: 'custom', path: [...at, 'service_account'], message: 'An ingress service account must differ from server.service_account' });
168
168
  }
@@ -3,7 +3,9 @@ export type AnyArtifactRequestContext = ArtifactRequestContext | RequestContextV
3
3
  /**
4
4
  * Version-dispatching verifier for platform code that must accept both Atlas-user (v1) and
5
5
  * external (v2) contexts, such as the broker. Applications never get this: it is not exported
6
- * from `./server` or `./server/context`, and the exports map does not expose `server/internal`.
6
+ * from `./server` or `./server/context`, and the exports map names no `./server/internal` subpath,
7
+ * so a package import of it fails to resolve. Atlas, the only consumer, reaches the built file
8
+ * through its own resolver aliases (tsconfig `paths`, Next and Vitest `resolve.alias`).
7
9
  *
8
10
  * Kid and version are paired both ways: an `external-` kid must sign a v2 context, and a v2
9
11
  * context must be signed by an `external-` kid. This pairing is the only thing standing between
@@ -5,7 +5,9 @@ import { canonicalizeIngressPath, signedIngressPath } from '../ingress-routes.js
5
5
  /**
6
6
  * Version-dispatching verifier for platform code that must accept both Atlas-user (v1) and
7
7
  * external (v2) contexts, such as the broker. Applications never get this: it is not exported
8
- * from `./server` or `./server/context`, and the exports map does not expose `server/internal`.
8
+ * from `./server` or `./server/context`, and the exports map names no `./server/internal` subpath,
9
+ * so a package import of it fails to resolve. Atlas, the only consumer, reaches the built file
10
+ * through its own resolver aliases (tsconfig `paths`, Next and Vitest `resolve.alias`).
9
11
  *
10
12
  * Kid and version are paired both ways: an `external-` kid must sign a v2 context, and a v2
11
13
  * context must be signed by an `external-` kid. This pairing is the only thing standing between
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "0.6.2",
12
+ "version": "0.6.3",
13
13
  "description": "SDK types and CLI library for building Artifact Studio apps. Driven via `seq-studio artifact <sub>` (@sequenceholdings/studio-cli), which runs the `./cli` runCli export.",
14
14
  "type": "module",
15
15
  "exports": {