feat(plugins): #1247 standalone markdown plugin#1457
Merged
thescientist13 merged 35 commits intoSep 6, 2025
Conversation
thescientist13
force-pushed
the
feature/issue-1247-standalone-markdown-plugin
branch
from
April 27, 2025 21:17
9b41d02 to
26ae467
Compare
thescientist13
force-pushed
the
feature/issue-1247-standalone-markdown-plugin
branch
from
August 17, 2025 20:11
a31971f to
ddb8721
Compare
Member
Author
|
Hmm, not sure why the .mp3 develop command test case is failing all builds? 2875 passing (8m)
214 pending
4 failing
1) Develop Greenwood With:
Default Greenwood Configuration and Workspace
Develop command with audio format (.mp3) behavior
should return a 200 status:
AssertionError: expected 500 to equal 200
+ expected - actual
-500
+200
at Context.<anonymous> (file:///home/runner/work/greenwood/greenwood/packages/cli/test/cases/develop.default/develop.default.spec.js:479:36)
at process.processImmediate (node:internal/timers:485:21)
2) Develop Greenwood With:
Default Greenwood Configuration and Workspace
Develop command with audio format (.mp3) behavior
should return the correct content type:
AssertionError: expected 'text/plain; charset=utf-8' to equal 'audio/mpeg'
+ expected - actual
-text/plain; charset=utf-8
+audio/mpeg
at Context.<anonymous> (file:///home/runner/work/greenwood/greenwood/packages/cli/test/cases/develop.default/develop.default.spec.js:484:57)
at process.processImmediate (node:internal/timers:485:21)
3) Develop Greenwood With:
Default Greenwood Configuration and Workspace
Develop command with audio format (.mp3) behavior
should return the correct content length:
AssertionError: expected '0' to equal '5425061'
+ expected - actual
-0
+5425061
at Context.<anonymous> (file:///home/runner/work/greenwood/greenwood/packages/cli/test/cases/develop.default/develop.default.spec.js:489:59)
at process.processImmediate (node:internal/timers:485:21)
4) Develop Greenwood With:
Default Greenwood Configuration and Workspace
Develop command with audio format (.mp3) behavior
should return the correct response body:
AssertionError: expected '' to include 'ID3'
at Context.<anonymous> (file:///home/runner/work/greenwood/greenwood/packages/cli/test/cases/develop.default/develop.default.spec.js:494:25)
at process.processImmediate (node:internal/timers:485:21)
With logging added, we get to the root cause! 😮💨 TypeError: Response.clone: Body has already been consumed.
at webidl.errors.exception (node:internal/deps/undici/undici:3610:14)
at _Response.clone (node:internal/deps/undici/undici:9192:31)
at file:///home/runner/work/greenwood/greenwood/packages/cli/src/lifecycles/serve.js:122:49
at async file:///home/runner/work/greenwood/greenwood/packages/cli/src/lifecycles/serve.js:103:5
at async file:///home/runner/work/greenwood/greenwood/packages/cli/src/lifecycles/serve.js:58:5 |
thescientist13
force-pushed
the
feature/issue-1247-standalone-markdown-plugin
branch
from
August 26, 2025 02:03
9771fbf to
f030ee6
Compare
thescientist13
marked this pull request as ready for review
August 26, 2025 02:30
Member
Author
|
Getting a bunch of intermittent errors on Windows to due Response bodies being consumed in the dev server 😞 ****************************************************************************
TypeError: Response.clone: Body has already been consumed.
at webidl.errors.exception (node:internal/deps/undici/undici:3610:14)
at _Response.clone (node:internal/deps/undici/undici:9192:31)
at file:///C:/Users/owenbuckley/Workspace/greenwood/packages/cli/src/lifecycles/serve.js:70:45
at async file:///C:/Users/owenbuckley/Workspace/greenwood/packages/cli/src/lifecycles/serve.js:49:5edit: it looks like it can even happen from time to time on my mac 😬 maybe this has been part of the random flakiness we've seen from time to time in GitHub Actions |
thescientist13
force-pushed
the
feature/issue-1247-standalone-markdown-plugin
branch
from
August 30, 2025 20:55
d86e18d to
a880798
Compare
5 tasks
5 tasks
This was referenced Aug 31, 2025
Closed
This was referenced Sep 1, 2025
… serve and intercept related resource plugin processing
thescientist13
force-pushed
the
feature/issue-1247-standalone-markdown-plugin
branch
from
September 4, 2025 01:33
89adcea to
c9abc33
Compare
thescientist13
deleted the
feature/issue-1247-standalone-markdown-plugin
branch
September 6, 2025 00:20
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.
Related Issue
resolves #1247
Documentation
addpreServelifecycle docsserve lifecycle resource plugin recommendations (setstatusTextandstatus)Summary of Changes
activeContentflag (BREAKING)servePageoption works for resource plugins; now relies on extension (BREAKING)TODO
I think we're going to need to solve this first - inconsistent HTML output merging hierarchy for top level pages and layouts #1475greenwood development test cases failing on 404 issues? (Default Greenwood Configuration and Workspace)frontmatter importslayouts and pagestheme pack test case / slides<x-counter></x-counter>(Demo Page Example)getting startedResponsebody consumption - feat(plugins): #1247 standalone markdown plugin #1457 (comment)xdescribesince we have a hardcoding on .html per inconsistent HTML output merging hierarchy for top level pages and layouts #1475 ) and create a test case in markdown plugin suite<body>tags test cases popping up (seexdescribefor Custom Sources Plugin and Custom Layout)better way to check forinitContentsinstead of all the negate cases (in standard html plugin)integrateshouldPreServe/preServein all places (e.g. loader.js), and handlingresponsein serve all serve lifecyles?preServe, per enhancement/issue 823 ensure greenwood cli and plugins are favoring idiomatic usages of async #1546 ~~Stringconstructor - https://github.com/thescientist13/greenwood-native-typescript/blob/unified-in-plugins/external-content-source-plugin.ts#L38perServeapproach and any other tweaks we've made in the serve lifecycleREADMEThoughts / Questions
Have we introduced a change toservelifecycle signature? would need to update our plugin types / docsUpdates for Content as Data v2 #1286 in regards to pushing to the graph from a plugin?- N / A