File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 * into sys_package_version.manifest_json (status=published).
1313 * 3. (optional) auto-install into a target environment via --env.
1414 *
15- * This is the "upload my local code to my org" path. It does NOT write
16- * sys_environment_revision (that's the legacy `objectstack publish` path,
17- * which still exists for backward compatibility while ADR-0006 v4 Phase B
18- * transitions complete).
15+ * This is the "upload my local code to my org" path — the single supported
16+ * way to publish. (The legacy direct-to-environment `os publish` / `os
17+ * rollback` commands, which wrote sys_environment_revision, have been
18+ * removed.)
1919 */
2020
2121import { readFile } from 'node:fs/promises' ;
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -866,18 +866,6 @@ export class ObjectStackClient {
866866 return this . unwrapResponse < { environmentId : string ; branch : string ; demoted : number ; totalRevisions : number } > ( res ) ;
867867 } ,
868868
869- /**
870- * Activate (rollback to) a previously-published revision by commit id.
871- * Marks the target revision is_current=true and demotes the prior one.
872- */
873- activateRevision : async ( id : string , commitId : string ) => {
874- const res = await this . fetch (
875- `${ this . baseUrl } /api/v1/cloud/environments/${ encodeURIComponent ( id ) } /revisions/${ encodeURIComponent ( commitId ) } /activate` ,
876- { method : 'POST' } ,
877- ) ;
878- return this . unwrapResponse < { environmentId : string ; commitId : string ; activated : boolean ; previousCommitId : string | null } > ( res ) ;
879- } ,
880-
881869 /**
882870 * Retry provisioning for a project stuck in `failed` (or
883871 * `provisioning`) state. The server re-runs the driver handshake; on
You can’t perform that action at this time.
0 commit comments