Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 4, 2025
1 parent cf80300 commit 9c29b82
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions scripts/content-modules/adjust-pages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ ()
s|(docs/specs/otel/logs/api.md#emit-a)n-event|$1-logrecord|;
s|\[semantic-convention-groups\]|[group-stability]|;
s|\Q../../docs/|../|g; # https://github.com/open-telemetry/semantic-conventions/pull/1843
s|\Qhttps://wikipedia.org/wiki/Where_(SQL)#IN|https://wikipedia.org/wiki/SQL_syntax#Operators|g;
}

sub getVersFromSubmodule() {
Expand Down
6 changes: 4 additions & 2 deletions scripts/double-check-refcache-400s.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async function retry400sAndUpdateCache() {
const parsedUrl = new URL(url);
const { StatusCode, LastSeen } = details;

// if (isHttp2XX(StatusCode)) continue;
if (isHttp2XX(StatusCode)) continue;
if (isHttp2XX(StatusCode) && (!parsedUrl.hash || StatusCode >= 210))
continue;

Expand All @@ -46,7 +46,9 @@ async function retry400sAndUpdateCache() {
StatusCode === 422
) {
const lastSeenDate = new Date(LastSeen).toLocaleString();
// console.log(`Skipping ${StatusCode}: ${url} (last seen ${lastSeenDate}).`);
console.log(
`Skipping ${StatusCode}: ${url} (last seen ${lastSeenDate}).`,
);
continue;
}
if (url.startsWith(GOOGLE_DOCS_URL)) {
Expand Down
12 changes: 4 additions & 8 deletions static/refcache.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
},
"https://aws-otel.github.io/docs/components/confmap-providers#confmap-providers-supported-by-the-adot-collector": {
"StatusCode": 206,
"LastSeen": "2025-02-04T09:14:39.48319-05:00"
"LastSeen": "2025-02-04T09:41:15.048512-05:00"
},
"https://aws-otel.github.io/docs/getting-started/collector": {
"StatusCode": 206,
Expand Down Expand Up @@ -169,7 +169,7 @@
},
"https://betterstack.com/docs/logs/open-telemetry/#2-setup": {
"StatusCode": 200,
"LastSeen": "2025-02-04T09:14:41.159696-05:00"
"LastSeen": "2025-02-04T09:41:18.944815-05:00"
},
"https://blog.logrocket.com/understanding-schema-stitching-graphql/": {
"StatusCode": 200,
Expand Down Expand Up @@ -16516,8 +16516,8 @@
"LastSeen": "2024-10-09T10:19:24.765198+02:00"
},
"https://wikipedia.org/wiki/SQL_syntax#Operators": {
"StatusCode": 204,
"LastSeen": "2025-01-28T16:18:59.006111-05:00"
"StatusCode": 200,
"LastSeen": "2025-02-04T09:41:37.480619-05:00"
},
"https://wikipedia.org/wiki/Software_testing": {
"StatusCode": 200,
Expand Down Expand Up @@ -16547,10 +16547,6 @@
"StatusCode": 200,
"LastSeen": "2024-12-04T08:47:08.361851296Z"
},
"https://wikipedia.org/wiki/Where_%28SQL%29#IN": {
"StatusCode": 404,
"LastSeen": "2025-02-04T09:15:01.676341-05:00"
},
"https://wikipedia.org/wiki/World_Geodetic_System#WGS84": {
"StatusCode": 200,
"LastSeen": "2025-02-04T09:15:11.552948-05:00"
Expand Down

0 comments on commit 9c29b82

Please sign in to comment.