Skip to content

feat(GSP1302): Sindri verifiable credentials lab solution and full Hashnode guide - #55

Draft
hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1302-sindri-credentials-scout-20261031
Draft

hoangsvit wants to merge 2 commits into
mainfrom
feat/gsp1302-sindri-credentials-scout-20261031

Conversation

@hoangsvit

@hoangsvit hoangsvit commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

New Google Skills lab — GSP1302

Files and task coverage

  • labs/GSP1302/lab.sh: independent Bash; install published Sindri CLI; clone upstream example; sign degree credential with local key; clone official public ZK circuit; generate proof; verify with Go; upload and verify the five exact grader artifacts in the existing lab bucket.
  • labs/GSP1302/HASHNODE.md: Overview → Setup → full Task 1–5 manual steps and checkpoints → Solution of Lab → Quick (exactly two commands from main) → Manual → sources. Quick URL only becomes available after merge. No verified manual YouTube video or image-embedding rights.
  • ePlus.DEV – Starting Execution banner; TTY/FORCE_COLOR/NO_COLOR; Copyright (c) 2026 ePlus.DEV | Unlicense; detect project and unique lab bucket; no hardcoded region, project, passwords, or Sindri key; bounded retries, idempotent checkout, no destructive cleanup.
  • Runtime requires the lab-provided Sindri API key supplied privately via prompt or environment variable. The upstream Sindri codelab is cloned at runtime, not copied.

Validation and review

  • Static validation pending GitHub Actions: require bash -n, ShellCheck severity error, and changed-script unit tests on latest head before merge. No local ShellCheck executable was available. Do not mark PASS until CI confirms it.
  • static validated only; runtime/grader unverified after CI passes; no authorized GCP or Sindri lab session used.
  • Review CLI compatibility, public circuit availability/tag, Sindri key scope, grader object names and the Go pinned verification key. The original lab was last tested February 19, 2025.
  • No merge, auto-approve, or push to main.

Test latest PR commit

Run only in an authorized Google Skills Cloud Shell. The commands resolve the latest head SHA (fail if empty), download the immutable commit to avoid stale caches, and write a SHA-stamped log. FORCE_COLOR=1 keeps colors through tee; NO_COLOR overrides it.

BRANCH=feat/gsp1302-sindri-credentials-scout-20261031
SHA="$(git ls-remote https://github.com/ePlus-DEV/storage.git refs/heads/$BRANCH | awk '{print $1}')"
test -n "$SHA" || { echo "Missing latest PR head SHA" >&2; exit 1; }
curl -fL --retry 3 "https://raw.githubusercontent.com/ePlus-DEV/storage/$SHA/labs/GSP1302/lab.sh" -o lab-test.sh
set -o pipefail
FORCE_COLOR=1 bash lab-test.sh 2>&1 | tee "lab-GSP1302-${SHA:0:12}.log"

This test uses bash lab-test.sh, not source lab.sh. It does not assert a runtime/grader PASS. Request human review before merging. Tracks #16.

Latest GitHub CI verification

  • Lab Script Health run #41139643456 completed SUCCESS at head 7cd412a8ac50.
  • Read-only changed-script checks: Bash syntax, ShellCheck severity error, and repository unit tests PASS.
  • static validated only; runtime/grader unverified; no authorized lab session used.

@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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