You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 43eaf4d
Browse filesBrowse the repository at this point in the historyBrowse files
feat(runtime): an admin can disable a `type: 'module'` package of an installed app, and a disabled package's navigation contributions and record-change flows stop (#28117)
8
+
9
+
Clause-②: yes (widening) — `PATCH /api/v1/packages/:id/disable` now accepts a module of an installed app, which it refused `422 WRITABLE_PACKAGE_REQUIRED` before. Nothing is narrowed.
10
+
Metadata-protocol: none
11
+
12
+
A suite ships one artifact: its `type: 'app'` package and several `type: 'module'` packages. A customer who does not use a module can now switch it off in their environment, and "disabled" keeps its one meaning: hidden, refused on the data plane, data kept.
13
+
14
+
-**The disable door** (`@objectstack/runtime`). An admin with `manage_metadata` may disable a package whose `manifest.type` is `'module'` and whose `manifest.dependencies` directly name an installed package of `manifest.type``'app'`, unless its own `manifest.scope` is `system` or `cloud`. This holds for a suite booted from code and for one installed from the marketplace: both leave the same row. Every other read-only package answers the disable door `422 WRITABLE_PACKAGE_REQUIRED` as before: the app itself, a plugin, a platform package, a module that declares no app or whose app is not installed. The exemption is for disable only. The module stays read-only for authoring, so edit, publish, revert, delete and overwrite still refuse it, and its served row still says `writable: false`.
15
+
-**Navigation** (`@objectstack/objectql`). `SchemaRegistry.applyNavContributions` drops the contributions of a disabled package, so `getApp`, `getAllApps` and the protocol's `app` reads (`GET /api/v1/meta/app`, `GET /api/v1/meta/app/:name`) no longer list a disabled module's menu entries. They come back on enable. A disabled package's contribution into a missing group is not relocated and raises no `nav_contribution_group_missing` diagnostic.
16
+
-**Record-change flows** (`@objectstack/trigger-record-change`). A flow bound to an object whose owning package is disabled is not run for a write made in-process (an app hook's `ctx.api.object(...)`, another flow, a service), which the engine still accepts. The record is written; the flow runs again once the package is enabled. Writes through the data plane were already refused.
17
+
-**Already in place**, and now pinned on the module path: the data plane's `404 OBJECT_PACKAGE_DISABLED` for the module's objects, and the per-environment state file that replays a disable at boot.
18
+
19
+
An app hook that reads a disabled module's object through `ctx.api.object(name)` is served the kept records: the in-process read is not refused, and this release does not change that. The marketplace handbook says so under "Disabling a module".
fix(app-shell): Studio's `connector_action` form treats each `connectorConfig.input` value as a value slot
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
The flow expression ledger roots `connector_action``input.*` in the node's `connectorConfig` sibling block, and `registerFlow` refuses a `{…}` token there. Studio's readers ignored the entry's block, so the Input section offered no CEL-expression editor and showed no refusal: an author met the refusal only at publish.
11
+
12
+
- Each input value now has the text / CEL-expression toggle that other value slots have, in both the typed fields an action's `inputSchema` produces and the key/value repeater. An expression is stored as a CEL value envelope, `{ dialect: 'cel', source }`, at the same key.
13
+
- A `{…}` token typed into an input value shows the spec's refusal under the value as it is typed. The text is the same sentence the publish door gives.
14
+
- The Debug run fails a `connector_action` step whose input holds a `{…}` token, with the spec's refusal naming `connectorConfig.input.<key>`, because the executor refuses that input before it dispatches.
fix(metadata-protocol): a same-named row in a dependent package no longer replaces the base package's item for a read that names no package
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
When a writable package that depends on a code package saved an item under a name the code package ships (`showcase_task.default` saved into `com.default.acme-custom`), `GET /api/v1/meta/view/showcase_task.default` with no `package` served the dependent package's copy, under the code package's `_packageId`, and so did the layered read's `effective`. The code package that ships the name was not a candidate of that read: the dependent package's row won by being the only stored row.
11
+
12
+
The by-name read and the layered read that name no package now take their stored content from the code package that ships the name: its own stored row, else the package-unbound row (the overlay Setup writes, which still wins over the code item), else the code item. A read naming the dependent package still serves its own row, and a writable package's own item, a name no code package ships, is still served to the read naming no package. Where a package-less save, delete and the read's `version` land does not move.
feat(console): Studio's item header offers Setup's item tools — layers, references, history with rollback, audit and source — on every Data, Interfaces and Automations item
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
-**Before.** An item's layers (code / overlay / effective), what references it, its version history with rollback, its audit trail and its JSON source opened only from Setup's item page. A Studio author who wanted to undo a change went to Setup to do it.
12
+
-**Now.** The open item's header in Studio's Data, Interfaces and Automations pillars carries the five as an icon group, each opening the same panel Setup's sheet holds. History and Audit are offered only to a caller the authoring-trail doors admit, as on Setup. Rollback asks the same in-app confirm, writes through the same rollback door, and the pillar re-reads the item; a read-only package shows its history without rollback. Source edits the pillar's own draft buffer, saved by its autosave, and is read-only where the item is.
13
+
-**Moved.**`LayeredDiff`, `ResourceHistoryPage` (`HistoryPanel`), `AuditPanel`, `JsonSourceEditor` and the references panel now live in `views/item-tools/`, which Setup's item page imports. `@object-ui/app-shell`'s `LayeredDiff` and `MetadataResourceHistoryPage` exports are unchanged. Setup's page behaves as before.
14
+
-**Not carried over.** Setup's autosave toggle and draft review panel: Studio keeps its own draft → publish and pending-changes review.
feat(console): Setup pages for position holders and permission set assignment
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
An administrator can now manage who holds a position, and who holds a permission set, without opening the position's or the set's own page:
12
+
13
+
-**Position holders** (`security:position-holders`): pick a position from the environment's catalog, then list, add and remove its holders.
14
+
-**Permission set assignment** (`security:permission-set-assignment`): pick a permission set, then list its users (direct grants and holders through a position), and assign or unassign direct grants.
15
+
16
+
Each page renders the same section the item page renders, so who may add or remove, and every refusal the server answers (the delegated-administration gate's included), are unchanged and shown in the server's own words. The picked item rides the page's URL (`?position=` / `?set=`), so a shared or refreshed link opens it again. A failed read of the catalog says so and offers a retry instead of showing an empty list. The sections inside the position and permission set pages keep working as before.
17
+
18
+
The pages are registered as component refs and open at `/apps/setup/component/security/position-holders` and `/apps/setup/component/security/permission-set-assignment`. No Setup navigation entry names them yet: those entries are contributed by the server's security plugin and follow separately. New copy is translated in all ten console languages.
fix(plugin-approvals): re-issuing a restored approval continuation proves the pause past the first 1000 parked runs
7
+
8
+
Clause-②: no (a re-issue on a store with more than 1000 parked runs now proves the pause as it already does below that; no schema, accept set, error code or result field changes)
9
+
Metadata-protocol: none
10
+
11
+
`continueRestoredRun` proves the pause it continues is the one the request's outcome was issued at, by reading where the run is parked. It read that from `listSuspendedRunsDurable()`. On a database-backed store that listing reads one page of 1000 `paused` rows, and a process adds only the runs it parked itself. So when another replica (or this process before a restart) parked the run and more than 1000 runs were parked ahead of it, the run was on no page. Every re-issue was refused with `INVALID_STATE` "parked at no node this engine can see", every retry read the same page, and the recorded outcome never took effect.
12
+
13
+
-**Now.** The proof asks the engine for that one run. The new `AutomationEngine.suspensionOf(runId)` reads the run's suspension by id, through the same strict, store-authoritative read `hasSuspendedRun` uses, and answers its flow, node and correlation, or `undefined` when it is not suspended. It rejects when the store cannot be read.
14
+
-**Unchanged.** Below 1000 parked runs the re-issue proceeds as before. A run that is not parked, or is parked at another node, is still refused, and the refusal still names the node. An engine without the read is still refused; the refusal now names `suspensionOf` as the missing read.
Search and read GitHub issues and pull requests from your flows. The app
4
+
connects to GitHub's hosted MCP server (`https://api.githubcopilot.com/mcp/`)
5
+
in read-only mode and exposes two of its read tools as connector actions.
6
+
Nothing is written to GitHub.
7
+
8
+
## What it adds
9
+
10
+
-**A connector, `github_mcp`.** Its actions are `search_issues` (GitHub's
11
+
issue and pull request search syntax) and `issue_read` (one issue's details).
12
+
Any other tool the server offers stays out of your flows and agents.
13
+
-**Two flows that use it**, ready to run or to copy:
14
+
-`github_search_issues` takes a `query` (for example
15
+
`repo:acme/app is:open label:bug`) and returns the matching issues as
16
+
`search.content`.
17
+
-`github_get_issue` takes `owner`, `repo` and `issue_number` and returns the
18
+
issue as `issue.content`.
19
+
20
+
The app adds no objects, no sample data and no demo users. An install adds the
21
+
connector and the two flows, and nothing else.
22
+
23
+
## Credentials
24
+
25
+
The app needs one credential. Until it is set, the `github_mcp` connector is
26
+
listed as disconnected and its flows fail, naming the credential.
27
+
28
+
| Credential | What it is | Where to get it | Permissions it needs |
29
+
|:---|:---|:---|:---|
30
+
|`GITHUB_MCP_TOKEN`| A GitHub personal access token, sent to GitHub's MCP server as `Authorization: Bearer <token>`| GitHub → **Settings → Developer settings → Personal access tokens** (<https://github.com/settings/personal-access-tokens/new> for a fine-grained token) | Fine-grained token (GitHub's recommendation): access to the repositories you will search, with read-only **Issues** and **Pull requests** repository permissions; a repository owned by an organization also needs the organization to approve the token. Classic token: the `repo` scope, which both tools require |
31
+
32
+
Set the value in **Setup → Integrations → Connector Credentials**, or in the
33
+
install dialog right after installing. An environment variable named
34
+
`GITHUB_MCP_TOKEN` on the server takes precedence over a stored value.
35
+
36
+
Prefer a fine-grained token. With a classic token, GitHub's server hides every
37
+
tool whose scope the token lacks. If that hides `search_issues` or
38
+
`issue_read`, the connector does not start without them: a value set in
39
+
**Connector Credentials** leaves `github_mcp` disconnected with a reason naming
40
+
the missing tools, and a value set as the server environment variable stops the
41
+
server from starting at all. Replace the token with one that carries the `repo`
42
+
scope: a new value in **Connector Credentials** takes effect at once, a new
43
+
environment variable at the next start.
44
+
45
+
The token is only ever sent to GitHub. It is never stored in the app's
46
+
metadata.
47
+
48
+
## Running it
49
+
50
+
```bash
51
+
curl -X POST "$OS_URL/api/v1/automation/github_search_issues/trigger" \
0 commit comments