Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to smoketests, reducing failure rates #626

Merged

Conversation

zangster300
Copy link
Contributor

No description provided.

@delaneyj delaneyj merged commit bd17ab4 into starfederation:develop Feb 7, 2025
1 check passed
bencroker added a commit that referenced this pull request Feb 9, 2025
commit 1004107
Author: Ben Croker <[email protected]>
Date:   Sat Feb 8 19:10:38 2025 -0600

    Prep for 1.0.0-beta.4

commit 9945394
Author: Delaney <[email protected]>
Date:   Sat Feb 8 15:40:34 2025 -0800

    Idiomorph v0.5.0 (#634)

    * Idiomorph v0.5.0
    Fixes #633

    * Build

    ---------

    Co-authored-by: Ben Croker <[email protected]>

commit 8a0fedf
Author: Ben Croker <[email protected]>
Date:   Sat Feb 8 17:22:27 2025 -0600

    Merge Zig README

commit ed9f574
Author: ravenclaw900 <[email protected]>
Date:   Sat Feb 8 23:16:39 2025 +0000

    Minor fixes for the Rust SDK (#632)

    * Add necessary dev-dependencies for testing

    * Update some crate metadata

    * Replace all implementations of `Into` with `From`

    * Replace `write!` with `writeln!` when applicable

    * Replace `futures` crate with slightly more minimal `futures_util` crate

    * Clarify uses of `Default::default()`

commit 65b017d
Author: sdenovan <[email protected]>
Date:   Sat Feb 8 16:16:17 2025 -0700

    docs: include byte[] casts for MergeSignals golang examples (#635)

commit c90c09e
Author: Ben Croker <[email protected]>
Date:   Sat Feb 8 17:14:26 2025 -0600

    Add `viewtransition` modifier to `data-on` (#631)

    * Add `viewtransition` modifier to `data-on`

    * Refactor to use util

    * Add example

    * fix morty mistakes

    * Add release note and docs

    ---------

    Co-authored-by: Delaney Gillilan <[email protected]>

commit ef05be3
Author: Ben Croker <[email protected]>
Date:   Sat Feb 8 09:25:50 2025 -0600

    Improve `data-on` docs

commit 6d16a23
Author: Johnathan Stevers <[email protected]>
Date:   Sat Feb 8 08:11:49 2025 -0600

    Prepare Zig SDK for standalone repo (#628)

    * prepare zig sdk for its own repo

    * fix missing opts

    * update dependencies

    * add option for http1

    * update readme

commit 16714ed
Author: Greg H <[email protected]>
Date:   Sat Feb 8 09:10:04 2025 -0500

    sdk/dotnet updates (#630)

    * sdk/dotnet-updates - added ability to append custom headers to sse response

    * sdk/dotnet-updates - updated README with Model Binding examples

    * sdk/dotnet-updates - nuget package version should reflect properly. no release made in github

    ---------

    Co-authored-by: Greg Holden <[email protected]>

commit 91f5f07
Author: Ben Croker <[email protected]>
Date:   Sat Feb 8 07:47:15 2025 -0600

    Observe DOM only after loading core plugins (#629)

commit 305b8ec
Author: Ben Croker <[email protected]>
Date:   Fri Feb 7 21:16:30 2025 -0600

    Tweak spacing

commit 4fb2aa5
Author: Ben Croker <[email protected]>
Date:   Fri Feb 7 17:58:46 2025 -0600

    Fix typo

commit bd17ab4
Author: zangster300 <[email protected]>
Date:   Fri Feb 7 11:29:30 2025 -0500

    update to smoketests, reducing failure rates (#626)

commit 01702f0
Author: Ben Croker <[email protected]>
Date:   Thu Feb 6 17:42:47 2025 -0600

    Fix file extension not file extension

commit 18ea309
Author: Henry Laxen <[email protected]>
Date:   Thu Feb 6 16:30:14 2025 -0700

    Haskell SDK (#622)

    * ready for pull request

    * I had the consts_haskell.qtpl in the wrong place

    * made changes requested by Ben

    * made changes requested by Ben

    * fixed license and version in cabal

    * more changes per Ben

    * renamed dstar.cabal to datastar.cabal

    * Update LICENSE

    * Rename LICENSE to LICENSE.md

    * Update datastar.cabal

    ---------

    Co-authored-by: Ben Croker <[email protected]>

commit 467aeb4
Author: Ben Croker <[email protected]>
Date:   Thu Feb 6 09:04:56 2025 -0600

    Clarify that SDKs are optional

commit b874aa1
Author: Ben Croker <[email protected]>
Date:   Thu Feb 6 08:03:31 2025 -0600

    en-US

commit e1fb273
Author: Ben Croker <[email protected]>
Date:   Thu Feb 6 07:51:20 2025 -0600

    Clarify SDK

commit 7314357
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 21:43:29 2025 -0600

    Minor improvements

commit 39a4e15
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 21:11:10 2025 -0600

    Language fixes

commit 229183f
Author: Ismael Celis <[email protected]>
Date:   Thu Feb 6 02:48:51 2025 +0000

    Ruby SDK support rails render_in interface (#617)

    * Support Rails' #render_in(view_context) interface

    So render arbitrary objects, including component libs like ViewComponent and Phlex Rails.

    * Render anything that supports #to_s, including Rails' safe buffers

    * Make sure Rails view_context is an ActionView::Base

    * Document

commit 3e5f1aa
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 20:42:04 2025 -0600

    Revert removal of links

commit 0d08df8
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 20:41:09 2025 -0600

    Add release notes

commit ead432f
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 19:24:28 2025 -0600

    Tweak styling

commit b6319e9
Author: Delaney <[email protected]>
Date:   Wed Feb 5 17:10:23 2025 -0800

    data-on-signals-change-foo (fixes #587) (#592)

    * Add optional key to `data-on-signals-change`
    Fixes #587

    * support files

    * Listen for changes to signal path

    ---------

    Co-authored-by: Ben Croker <[email protected]>

commit c0adef6
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 17:58:50 2025 -0600

    Remove code comment

    Build

commit 84a31ca
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 17:51:15 2025 -0600

    Fix signals `__ifmissing` (#621)

    * Add casing modifiers to attributes

    * Lower case key

    * Refactor text utils

    * cleanup ternary

    * fix case example

    * Finish

    * Upsert signals with `ifmissing`

    * Add release note

    ---------

    Co-authored-by: Delaney Gillilan <[email protected]>

commit d97cd5f
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 17:39:52 2025 -0600

    Add key casing modifiers (#618)

    * Add casing modifiers to attributes

    * Lower case key

    * Refactor text utils

    * cleanup ternary

    * fix case example

    * Finish

    ---------

    Co-authored-by: Delaney Gillilan <[email protected]>

commit 4aafd42
Author: zangster300 <[email protected]>
Date:   Wed Feb 5 17:55:15 2025 -0500

    update setup_test.go to change dir before kicking things off (#619)

commit d45517f
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 16:02:57 2025 -0600

    Fix fragment morph (#608)

    * Add example to demonstrate

    * upgrade to latest idiomorph

    * Remove test file

    * fix possible removal on apply

    ---------

    Co-authored-by: Delaney Gillilan <[email protected]>

commit 32a14d9
Author: JeremS <[email protected]>
Date:   Wed Feb 5 19:32:36 2025 +0100

    Doc: fixed improper coordinates for using the clojure SDK (#613)

    I mistakenly provided the wrong url in the docs, generating
    an error for users wanting to use the sdk. It is now fixed.

commit 5d46096
Author: Ismael Celis <[email protected]>
Date:   Wed Feb 5 18:02:18 2025 +0000

    Ruby SDK (#600)

    * WiP initial setup, ServerSentEventGenerator class

    * WiP working merge_fragments in Rails

    * #merge_fragments and #merge_signals

    * Handle SSE vs Data* options

    * Test that #merge_fragments works with a #call(view_context:) interface

    * Test Dispatcher#stream

    * #remove_fragments

    * #remove_signals

    * #execute_script

    * execute_script with attributes Hash

    * Connection: keep-alive

    * Use 2 line-breaks as message end, plus last line's 1 line break (3 total)

    * Connection callbacks. #on_connect, #on_disconnect, #on_error

    * Dispatcher#signals

    * Omit retry if using default value (1000)

    * Omit defaults

    * Multiline scripts

    * Test Rack endpoint

    * Document test Rack endpoint

    * Add missing defaults

    * Spawn multiple streams in threads, client_disconnect and server_disconnect handlers

    * Move ThreadSpawner to configuration

    * Configure a RailsThreadSpawner when Rails detected

    * Move Railtie one dir up

    * Global error callback

    Datastar.config.on_error { |err| Sentry.notify(err) }

    * Catch exception from stream threads in main thread

    * Linearlize exception handling

    * Refactor dispatcher to handle single stream in main thread, multi streams in separate threads

    * spawner => executor. Rails Async executor using fibers.

    * Support Async for fiber-based concurrency

    * Finalize response for Rack and Rails

    * test Rack app

    * Threaded demo

    * Test Dispatcher#sse?

    Also do not check for SSE Accept on stream.
    Leave it up to the user.

    * Do not check Accept header in test app. Test scripts don't send it properly.

    * Document code

    * Example progress bar Rack app

    * README

    * Link to D* SSE docs

    * See examples

    * Document callbacks

    * List Ruby SDK in SDKs.md

    * Ruby struct in consts.go

    * Document running tasks with arguments via Docker

    * Code-gen Ruby constants from shared data via template

    * Make test rely on constants

    * Datastar.from_rack_env(env) => Datastar::Dispatcher

    * Ruby example snippets

    * #redirect(location)

    * Ruby snippet using #redirect(new_path)

    * Add X-Accel-Buffering: no header

    To disable response buffering by NGinx and other proxies.

    * Clarify linearisation of updates in Readme

    * Tidy-up progress example

    * Move examples to /examples/ruby

    * Document Rails and Phlex

    * Version 1.0.0.beta.1

    * Version 1.0.0.beta.1

    * Do not set Connection header if not HTTP/1.1

    * Don't touch BUILDING.md docs in this PR

    * Remove Changelog for now

    * Sort Ruby alphabetically (just "ruby", not the entire line)

    * Add hello world example, remove progress bar one.

    * Add hello-world example to code-gen

    * Typos

commit ca5414c
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 10:02:10 2025 -0600

    Stop kebabizing class (#611)

commit 5a4b4d6
Author: Roman Frołow <[email protected]>
Date:   Wed Feb 5 16:39:00 2025 +0100

    Accomodate Zig SDK and examples to test runner changes (#601)

    * update zig to work on master

    * Updated deps, fixed to use tests.zig as root, add datastar as module, refactoring

    * Update test_runner.zig. Move tests to root.zig.

    * tokamak: use post0 when no body

commit bc21b05
Author: zangster300 <[email protected]>
Date:   Wed Feb 5 09:53:24 2025 -0500

    switching tests back to one web server, many pages (#609)

commit d3b50bc
Author: Ben Croker <[email protected]>
Date:   Wed Feb 5 07:10:04 2025 -0600

    Fix TypeScript snippets (#597)

    * Fix snippets

    * Use proper casing

commit 7a994bd
Author: Patrick Marchand <[email protected]>
Date:   Tue Feb 4 17:41:41 2025 -0500

    Add Accept: text/event-stream to bash tests (#607)

    Datastar responses are also valid SSE responses, and the D* client already sends `Accept: text/event-stream` to the server, so tests should replicate that.

    Some servers might rely on this for content negotiation.

    Co-authored-by: Ismael Celis <[email protected]>

commit 1d74d23
Author: Patrick Marchand <[email protected]>
Date:   Tue Feb 4 17:39:41 2025 -0500

    Sdk ts web improvements (#551)

    * sdk/typescript add support for ResponseInit in web stream method

    This allows setting custom headers

    * sdk/ts elide datalines with default values

    * sdk/ts run deno fmt

    * sdk/typescript deno lint

    * sdk/typescript better error handling for streams

    * sdk/typescript improve deno request abortion support and async completion

    * sdk/typescript fix type error in error usage

commit 552c559
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 15:41:10 2025 -0600

    Dispatch `RETRYING` SSE event (#585)

commit 437f8bc
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 15:14:07 2025 -0600

    Add release note

commit 0c33439
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 12:32:42 2025 -0600

    Restructuring

commit b4a1168
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 12:31:21 2025 -0600

    Add `run.go`

commit 71b95c8
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 12:28:29 2025 -0600

    Wording

commit 0975e24
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 12:25:06 2025 -0600

    Improve wording

commit b00c6d1
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 12:19:08 2025 -0600

    Add SDK Contribution Guidelines [deploy-site]

commit 65a301d
Author: JeremS <[email protected]>
Date:   Tue Feb 4 15:15:06 2025 +0100

    Fixing issue #571 / minor changes, improvements (#590)

    * Refactor: Ring jetty adapter is now a generic ring adapter

    Minor changes:

    - Properly eliding SSE retry duration
    - Added a small utility in the main api.
    - Added a new option to the ->sse-response functions to support
      modifying the HTTP response status.
    - Fixed typos and errors in the docs.
    - using consts version number.
    - Prepared tests for rj9a
    - Properly killing webrivers when shutting down tests

    * Docs: fixing the fixed typo

commit bca69f6
Author: Johnathan Stevers <[email protected]>
Date:   Tue Feb 4 08:05:43 2025 -0600

    rust and zig snippets (#594)

commit ff52c94
Author: Ben Croker <[email protected]>
Date:   Tue Feb 4 08:02:14 2025 -0600

    Improve SDKs [deploy-site]

commit 41198f3
Author: Greg H <[email protected]>
Date:   Mon Feb 3 21:31:19 2025 -0500

    sdk/dotnet-nuget_version (#589)

    * sdk/dotnet-nuget_version - updated the nuget version to 1.0.0-beta.3

    * sdk/dotnet-nuget_version - updated the nuget version to 1.0.0-beta.1

    ---------

    Co-authored-by: Greg Holden <[email protected]>

commit 77700d2
Author: Greg H <[email protected]>
Date:   Mon Feb 3 20:28:02 2025 -0500

    task/dotnet-howtos - added polling and redirect howtos #517 (#591)

    Co-authored-by: Greg Holden <[email protected]>

commit 9b61ee4
Author: Greg H <[email protected]>
Date:   Mon Feb 3 18:55:05 2025 -0500

    sdk/dotnet model binding (#574)

    * sdk/dotnet - more renaming, doco, and code shortening; caching of signals

    * sdk/dotnet - added model binding

    * sdk/dotnet-model_binding - FromSignals behaves more like other From* attributes

    ---------

    Co-authored-by: Greg Holden <[email protected]>

commit 284c42d
Author: Johnathan Stevers <[email protected]>
Date:   Mon Feb 3 14:01:09 2025 -0600

    Fix typo in how_to_bind_keydown_events_to_specific_keys.md (#586)

    Changes `whenver` -> `whenever`

commit 6b726a3
Author: Josh <[email protected]>
Date:   Mon Feb 3 16:10:33 2025 +0000

    Add search to the website (#522)

    * add description to the markdownRenders func

    * add /api/search using bleve

    * wrap search functionality in a basic feature flag

    * remove some comments that are not needed

    * add desktop styling for search

    * undo add feature flag

    * mobile styling

    * fix: merge correct fragment

    * fix: menu item being cut off on mobile

    * Add keyboard shortcut to add focus

    * fix: loading indicator jank

    * Styling tweaks

    * remove un-neccessary ids

    * Update site.css

    ---------

    Co-authored-by: Ben Croker <[email protected]>

commit 9901ae7
Author: Delaney <[email protected]>
Date:   Mon Feb 3 07:43:46 2025 -0800

    Attribute Order issue (#582)

    Fixes #580 by adding alias to hash

commit fe409ba
Author: Ben Croker <[email protected]>
Date:   Mon Feb 3 08:39:38 2025 -0600

    How-to Guides (#517)

    * Add polling

    * Rename file

    * Add `how_to_redirect_the_page_from_the_backend`

    * Add Hello World example guide

    * Add to nav, start on polling

    * Remove `.leading` from code snippets

    * Fix typo

    * How to bind keydown events to specific keys

    * How to redirect from the backend (#565)

    * Add how tos with demos

    * Fixes

    * Fixes

    * Add snippets

    * Rename to location in snippet

    * Wording

    * Tweaks

    * Prep for merging

    * Improve wording

    ---------

    Co-authored-by: Dominik Tarnowski <[email protected]>

commit cbbb640
Author: Ben Croker <[email protected]>
Date:   Mon Feb 3 08:29:15 2025 -0600

    Fix URLs [deploy-site]

commit 97c0760
Author: Ismael Celis <[email protected]>
Date:   Mon Feb 3 13:16:49 2025 +0000

    Make SDK tests use bash exit instead of return (#579)

    * Use exit instead of return in bash scripts

    Return is to return from functions, not scripts.

    * Test scripts: exit 1 y files differ

commit 1d8105a
Author: Johnathan Stevers <[email protected]>
Date:   Sun Feb 2 21:19:32 2025 -0600

    elide retry if default (#578)

commit 38c0547
Author: Lucian <[email protected]>
Date:   Sun Feb 2 21:51:43 2025 -0500

    Fix overflow issues and add menus (#567) (#575)

    * mobile: fix overflow issues (#567)

    * add dropdown

    ---------

    Co-authored-by: Lucian Knock <[email protected]>
    Co-authored-by: Delaney Gillilan <[email protected]>

commit 93852fc
Author: Johnathan Stevers <[email protected]>
Date:   Sun Feb 2 18:14:20 2025 -0600

    Rust SDK framework integration + hello-world examples (#558)

    * remove infinite scroll example

    * add rocket and axum example

    * rework how framework integration works

    * rocket integration

    * add .gitignore

    * dont elide `retry`

    * add "read signals" to rocket hello-world example

    * don't elide `retry` in display

    * remove mime dependency

    * update cargo.toml

    * add underscore to unused consts

    * formatting

    * use `async_stream` instead of "hand writing" streams

    * add axum test

    * fix errors

    * implement custom sse stream for axum and rocket

    * generate hello-world.html

    * update readme

    * don't track cargo.lock

commit 539152a
Author: Ben Croker <[email protected]>
Date:   Sun Feb 2 12:12:09 2025 -0600

    Fix SDK formatting

commit ed980b3
Author: Ben Croker <[email protected]>
Date:   Sun Feb 2 11:31:39 2025 -0600

    Update SDKs to ignore `retry` if set to default (#573)

    * Update SDKs to ignore `retry` if set to default

    * Remove from test output

    * Build

commit 854ce6e
Author: Prateek Rungta <[email protected]>
Date:   Sun Feb 2 19:04:01 2025 +0530

    Fix missing `}` (#569)

commit 16161d8
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 19:49:59 2025 -0600

    Update PHP SDK

commit 652fd1e
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 18:54:50 2025 -0600

    Improve redirects in SDKs

commit 2ee3ad2
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 10:15:53 2025 -0600

    Update JetBrains plugin

commit 9b2d620
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 09:53:43 2025 -0600

    Remove danglish URI [deploy-site]

commit dbff015
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 09:28:16 2025 -0600

    Update again

commit fb8325c
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 09:21:01 2025 -0600

    Update VSCode extension

commit 3f95087
Author: Delaney Gillilan <[email protected]>
Date:   Sat Feb 1 06:54:20 2025 -0800

    fix ts pub task

commit eb8b3b1
Author: Ben Croker <[email protected]>
Date:   Sat Feb 1 08:54:58 2025 -0600

    Clear out changelog
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.

2 participants