100 matches across 17 files for error lang:YAML
snippet_mode: grep · sorted by relevance
.github/ISSUE_TEMPLATE/bug-report.yml YAML 4 matches view file →
105
106 def bad_code(inputs) -> int:
107 raise NotImplementedError('For demo purpose')
108
109 chain = RunnableLambda(bad_code)
· · ·
111 - type: textarea
112 attributes:
113 label: Error Message and Stack Trace (if applicable)
114 description: |
115 If you are reporting an error, please copy and paste the full error message and
· · ·
115 If you are reporting an error, please copy and paste the full error message and
116 stack trace.
117 (This will be automatically formatted into code, so no need for backticks.)
· · ·
122 label: Description
123 description: |
124 What is the problem, question, or error?
125
126 Write a short description telling what you are doing, what you expect to happen, and what is currently happening.
.github/workflows/_compile_integration_test.yml YAML 1 matches view file →
1# Validates that a package's integration tests compile without syntax or import errors.
2#
3# (If an integration test fails to compile, it won't run.)
.github/workflows/_refresh_model_profiles.yml YAML 5 matches view file →
111 resolved="${GITHUB_WORKSPACE}/${CLI_PATH}"
112 if [ ! -d "${resolved}" ]; then
113 echo "::error::cli-path '${CLI_PATH}' does not exist at ${resolved}"
114 exit 1
115 fi
· · ·
136 run: |
137 echo "${PROVIDERS_JSON}" | jq -e 'type == "array" and length > 0' > /dev/null || {
138 echo "::error::providers input must be a non-empty JSON array"
139 exit 1
140 }
· · ·
141 echo "${PROVIDERS_JSON}" | jq -e 'all(has("provider") and has("data_dir"))' > /dev/null || {
142 echo "::error::every entry in providers must have 'provider' and 'data_dir' keys"
143 exit 1
144 }
· · ·
159 --provider "${provider}" \
160 --data-dir "${GITHUB_WORKSPACE}/${data_dir}"; then
161 echo "::error::Failed to refresh provider: ${provider}"
162 failed="${failed} ${provider}"
163 fi
· · ·
164 done
165 if [ -n "${failed}" ]; then
166 echo "::error::The following providers failed:${failed}"
167 exit 1
168 fi
.github/workflows/_release.yml YAML 14 matches · showing 5 view file →
198 import sys
199 import tomllib
200 import urllib.error
201 import urllib.request
202
· · ·
219 if requested_version and normalize(requested_version) != normalize(version):
220 print(
221 f"::error::Requested release version {requested_version!r} does "
222 f"not match {pkg_name} pyproject.toml version {version!r}."
223 )
· · ·
233 with urllib.request.urlopen(url, timeout=10):
234 already_published = True
235 except urllib.error.HTTPError as err:
236 if err.code == 404:
237 already_published = False
· · ·
239 # Fail closed: an unexpected status means we can't verify.
240 print(
241 f"::error::PyPI returned HTTP {err.code} checking whether "
242 f"{pkg_name}=={version} exists; cannot verify, aborting."
243 )
· · ·
244 sys.exit(1)
245 except urllib.error.URLError as err:
246 # Fail closed: if PyPI is unreachable we must not assume the version
247 # is free, or we risk re-publishing an existing release.
+ 9 more matches in this file
.github/workflows/block_fork_main_prs.yml YAML 3 matches view file →
50 } catch (e) {
51 if (e.status !== 404) {
52 throw new Error(`getLabel(${labelName}) failed: ${e.message}`);
53 }
54 try {
· · ·
63 const alreadyExists =
64 createErr.status === 422 &&
65 Array.isArray(createErr.errors) &&
66 createErr.errors.some(e => e.code === 'already_exists');
67 if (!alreadyExists) throw createErr;
· · ·
66 createErr.errors.some(e => e.code === 'already_exists');
67 if (!alreadyExists) throw createErr;
68 }
.github/workflows/bump_uv_pin.yml YAML 8 matches · showing 5 view file →
48 semver='^[0-9]+\.[0-9]+\.[0-9]+$'
49 if [[ ! "$current" =~ $semver ]]; then
50 echo "::error::Could not parse current uv pin from $action_file (got '$current')"
51 exit 1
52 fi
· · ·
53 if [[ ! "$latest" =~ $semver ]]; then
54 echo "::error::Unexpected uv tag from GitHub API (got '$latest')"
55 exit 1
56 fi
· · ·
139 action_file=".github/actions/uv_setup/action.yml"
140
141 # `grep -c` returns 1 on no-match and 2 on read errors. We want
142 # "no match" surfaced as the explicit count-of-zero check below;
143 # read errors must abort. Capture the exit code separately so
· · ·
143 # read errors must abort. Capture the exit code separately so
144 # `set -e` doesn't swallow either case.
145 set +e
· · ·
148 set -e
149 if [ "$before_rc" -gt 1 ]; then
150 echo "::error::grep read error on $action_file (exit=$before_rc)"
151 exit 1
152 fi
+ 3 more matches in this file
.github/workflows/check_extras_sync.yml YAML 3 matches view file →
58 )
59 if [ ${#files[@]} -eq 0 ]; then
60 echo "::error::No pyproject.toml files found under libs/"
61 exit 1
62 fi
· · ·
68 done
69 if [ ${#failed[@]} -gt 0 ]; then
70 echo "::error::Extras-sync check failed for ${#failed[@]} package(s):"
71 printf '::error:: %s\n' "${failed[@]}"
72 exit 1
· · ·
71 printf '::error:: %s\n' "${failed[@]}"
72 exit 1
73 fi
.github/workflows/check_release_deps.yml YAML 7 matches · showing 5 view file →
126 # New manifest: absent at the base ref, so not a version bump.
127 continue
128 print(f"::error file={manifest}::failed to read base manifest: {stderr}")
129 sys.exit(1)
130 base = project_table(shown.stdout)
· · ·
189 project = data.get("project")
190 if project is None:
191 print(f"::error file={manifest_path}::no [project] table to resolve")
192 sys.exit(1)
193
· · ·
243 else
244 # Surface the resolver's reason (stdout+stderr were captured) and tell a
245 # likely-transient index/network error apart from a genuinely bad pin.
246 cat "$filtered_dir/compile.log"
247 if grep -qiE 'error sending request|failed to fetch|error trying to connect|connection|timed out|temporarily unavailable|status code (429|50[0-9])' "$filtered_dir/compile.log"; then
· · ·
247 if grep -qiE 'error sending request|failed to fetch|error trying to connect|connection|timed out|temporarily unavailable|status code (429|50[0-9])' "$filtered_dir/compile.log"; then
248 echo "❌ ${pkg_dir}: resolver hit a possible transient PyPI/index error"
249 transient=1
· · ·
248 echo "❌ ${pkg_dir}: resolver hit a possible transient PyPI/index error"
249 transient=1
250 else
+ 2 more matches in this file
.github/workflows/check_versions.yml YAML 1 matches view file →
44 # in sync with pyproject.toml. Don't let it pass unchecked.
45 echo "--- $dir ---"
46 echo "Error: $dir has a _version.py but no 'check_version' Makefile target"
47 FAILED=1
48 fi
.github/workflows/pr_labeler.yml YAML 1 matches view file →
67 run: |
68 if [ -z "${{ steps.app-token.outputs.token }}" ]; then
69 echo "::error::GitHub App token generation failed — cannot classify contributor"
70 exit 1
71 fi
.github/workflows/pr_lint.yml YAML 2 matches view file →
9# Examples:
10# feat(core): add multi‐tenant support
11# fix(langchain): resolve error
12# docs: update API usage examples
13# docs(openai): update API usage examples
· · ·
72 run: |
73 if [[ "$PR_TITLE" =~ ^[a-z]+\(\)[!]?: ]]; then
74 echo "::error::PR title has empty scope parentheses: '$PR_TITLE'"
75 echo "Either remove the parentheses or provide a scope (e.g., 'fix(core): ...')."
76 exit 1
.github/workflows/pr_lint_trailer.yml YAML 2 matches view file →
71 // Comment write paths can fail for several reasons that should not
72 // turn this advisory job red on its own: fork PRs run with
73 // restricted tokens, secondary rate limits, transient API errors.
74 // Fall back to `core.summary` so a maintainer can paste the
75 // remediation manually. The check still fails — `setFailed` is
· · ·
99 }
100 } catch (commentErr) {
101 core.warning(`Could not post sticky comment (fork PR token, rate limit, or transient API error): ${commentErr.message}`);
102 await core.summary
103 .addHeading(summaryHeading)
.github/workflows/refresh_model_profiles.yml YAML 2 matches view file →
111 if [ -n "${unknown}" ]; then
112 known="$(echo "${ALL_PROVIDERS}" | jq -r 'map(.provider) | join(", ")')"
113 echo "::error::Unknown provider ID(s): ${unknown}. Known: ${known}"
114 exit 1
115 fi
· · ·
129 count="$(echo "${filtered}" | jq 'length')"
130 if [ "${count}" -eq 0 ]; then
131 echo "::error::No providers matched the filter"
132 exit 1
133 fi
.github/workflows/reopen_on_assignment.yml YAML 2 matches view file →
54 }));
55 } catch (e) {
56 throw new Error(
57 `Failed to search for closed PRs to reopen after assigning ${assignee} ` +
58 `to #${issueNumber} (HTTP ${e.status ?? 'unknown'}): ${e.message}`,
· · ·
121 continue;
122 }
123 // Transient errors (rate limit, 5xx) should fail the job so
124 // the label is NOT removed and the run can be retried.
125 throw e;
.github/workflows/require_issue_link.yml YAML 9 matches · showing 5 view file →
87 const sender = context.payload.sender?.login;
88 if (!sender) {
89 throw new Error('Event has no sender — cannot check permissions');
90 }
91 try {
· · ·
106 }
107 const status = e.status ?? 'unknown';
108 throw new Error(
109 `Permission check failed for ${sender} (HTTP ${status}): ${e.message}`,
110 );
· · ·
265 console.log(`PR author "${prAuthor}" is NOT assigned to #${num} (assignees: ${assignees.join(', ') || 'none'})`);
266 }
267 } catch (error) {
268 if (error.status === 404) {
269 console.log(`Issue #${num} not found — skipping`);
· · ·
268 if (error.status === 404) {
269 console.log(`Issue #${num} not found — skipping`);
270 } else {
· · ·
271 // Non-404 errors (rate limit, server error) must not be
272 // silently skipped — they could cause false enforcement
273 // (closing a legitimate PR whose assignment can't be verified).
+ 4 more matches in this file
libs/langchain/tests/unit_tests/examples/test_specs/robot/apispec.yaml YAML 18 matches · showing 5 view file →
18 title: Direction
19 type: string
20 HTTPValidationError:
21 properties:
22 detail:
· · ·
23 items:
24 $ref: "#/components/schemas/ValidationError"
25 title: Detail
26 type: array
· · ·
27 title: HTTPValidationError
28 type: object
29 PublicCues:
· · ·
80 title: Style
81 type: string
82 ValidationError:
83 properties:
84 loc:
· · ·
93 type: string
94 type:
95 title: Error Type
96 type: string
97 required:
+ 13 more matches in this file
libs/langchain/tests/unit_tests/examples/test_specs/robot_openapi.yaml YAML 18 matches · showing 5 view file →
18 title: Direction
19 type: string
20 HTTPValidationError:
21 properties:
22 detail:
· · ·
23 items:
24 $ref: '#/components/schemas/ValidationError'
25 title: Detail
26 type: array
· · ·
27 title: HTTPValidationError
28 type: object
29 PublicCues:
· · ·
80 title: Style
81 type: string
82 ValidationError:
83 properties:
84 loc:
· · ·
93 type: string
94 type:
95 title: Error Type
96 type: string
97 required:
+ 13 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.