refactor: rename apps publish commands to release and session-get - #45
Merged
Conversation
…ation to --page-size
Renames apps +publish-status → +release-get (AppsPublishStatus → AppsReleaseGet), updates --release-id desc to reference +release-create, and fixes the Execute error hint to point at +release-list instead of +publish-history.
Fix six leftover references missed in Tasks 1-6: +publish-history in jq-tip test wantCmds map and common_test hint fixture (×3), +session-read in apps_chat.go comment+output string (×2), apps_session_stop.go flag desc (×1), apps_chat_test.go comment (×1), and +publish-status in lark-apps-list.md agent rule prose (×1).
raistlin042
force-pushed
the
feat/apps-release-cmd-rename
branch
from
June 9, 2026 13:13
86a87dc to
0faab7a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Renames the Miaoda app full-stack release commands from the
+publish*prefix to+release-*, drops the now-redundant+publish-error-log, renames+session-readto+session-get, and unifies+release-listpagination with the rest of the apps domain. These commands exist only on thefeat/lark-apps-devintegration branch (not yet inmain), so this is a clean hard rename with no backward-compat aliases. No API paths or network behavior change — only Go identifiers, command strings, error hints, tests, and skill docs.Changes
apps +publish->+release-create(shortcuts/apps/apps_release_create.go)apps +publish-history->+release-listand unify pagination:--limit(1-500, sent-when-set) ->--page-size(default 20, always sent aspage_size), matching sibling+session-list; dropvalidateHistoryLimit(shortcuts/apps/apps_release_list.go)apps +publish-status->+release-get(shortcuts/apps/apps_release_get.go)apps +publish-error-log— failure logs are already surfaced by+release-get(renderserror_logswhenstatus==failedvia the retainedwriteReleaseErrorLogTable) (shortcuts/apps/apps_release_common.go)apps +session-read->+session-get(shortcuts/apps/apps_session_get.go)publish*Path->release*Path), cross-command error hints, and the--release-iddescription (shortcuts/apps/shortcuts.go,apps_release_common.go)lark-apps-release-create.md/lark-apps-release-list.md/lark-apps-release-get.md; deletelark-apps-publish-error-log.md); updateSKILL.md,lark-apps-cloud-dev.md, and other cross-references; addCHANGELOG.mdentry+html-publish(HTML static publish) is intentionally untouchedTest Plan
make unit-test/ validate passed (build, vet, unit, integration all green)unknown_subcommand;page_sizealways sent, nolimitkey)--limitremoved +error_logson failed)+publish-error-logremoval keeps the samespark:app:readscope)releases/sessionsAPI state that is not yet deployed (no realfinished/failedrelease or live session status can be constructed for a fresh test app), compounded by single-run variance (3 runs: 2/6 -> 5/6 -> 3/6, failing set shifting while docs only improved). Three general skill-doc clarifications were added (release-get link contract, session-get vs session-list, release-list page-size rule). To be re-run once the backend ships.lark-cli apps +release-create --as user --app-id x --dry-run(POST /releases);apps +release-list --as user --app-id x --dry-run(querypage_size=20, nolimit);apps +publish --as user --app-id x --dry-run(->unknown_subcommand)Related Issues
N/A