Skip to content

Ship staged skill release - #11

Merged
RomanOstr merged 2 commits into
mainfrom
release/local
Aug 3, 2026
Merged

Ship staged skill release#11
RomanOstr merged 2 commits into
mainfrom
release/local

Conversation

@RomanOstr

Copy link
Copy Markdown
Collaborator

Staged skill lifecycle release branch.

@RomanOstr
RomanOstr merged commit 4392629 into main Aug 3, 2026
4 checks passed
@RomanOstr
RomanOstr deleted the release/local branch August 3, 2026 01:08

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3bcb6a6e1b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +263 to +268
if environment_is_current(
python_exe,
python_version=python_version,
requirements_sha256=digest,
):
return

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Rebuild environments that fail readiness checks

When an installed environment still has its marker and interpreter but a package has been removed, corrupted, or otherwise made unimportable, this early return treats it as current. The following runtime-validation step then fails, and every subsequent deployment repeats the same skip/fail cycle because the marker remains unchanged. Verify package readiness before returning or make validation failure invalidate and rebuild the environment so deployment can repair drift.

Useful? React with 👍 / 👎.

Comment on lines +213 to +215
snapshot = model_snapshot(cache, model_id, revision)
if not snapshot.is_dir():
raise ValidationError(f"missing model snapshot: {snapshot}")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate Hugging Face snapshot contents

If a pinned snapshot directory exists but is incomplete or corrupted—for example after cache damage or deletion of a config or weight file—this check accepts it and runtime-validation.py ultimately prints OK. Regular text selection then fails later in mask_worker.py when from_pretrained(..., local_files_only=True) accesses the missing files. Validate the required snapshot artifacts, rather than directory existence alone, before declaring the runtime ready.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant