Skip to content

Add Datadog Synthetic tests workflow - #624

Closed
filforopen-source wants to merge 238 commits into
oracle:24.1.0from
filforopen-source:main
Closed

Add Datadog Synthetic tests workflow#624
filforopen-source wants to merge 238 commits into
oracle:24.1.0from
filforopen-source:main

Conversation

@filforopen-source

Copy link
Copy Markdown

This workflow triggers Datadog Synthetic tests on push and pull request events to the main branch. It includes steps for using Datadog's GitHub action with necessary API and application keys.

Balyam muralidhar narendra kumar and others added 30 commits June 4, 2025 10:18
Moved the reload window pop up from jdk downloader to configuration change listener(restartExtension) triggered  whenever any configuration is changed and extension is in bad state.
fix for oracle#396 - formatting issue when there is erroneous if tree
Fixed project clean and project compile commands in the command palette
Fixing test related issues

Signed-off-by: Subhash Arabhi <subhashsubbu636@gmail.com>
Merge 24.1.0 changes to main
…5+ EA

Updated the code to obtain the parent diagnostics keys for
feature-related errors/warnings to be agnostic to movement across
different diagnostic types in different JDKs.
For example, Warning -> LinterWarning
Updated the JavaLangFeatures feature name extractor to work with JDK25+ EA
1. For gradle projects, the CompilerOptionsQuery provides the required
   compiler arguments for a Source file/folder, not the project root.
   Thus, fixed the public LspServerTelemetryManager.isPreviewEnabled()
   methods to query the source roots of the current gradle project and
   sub-projects in order to check for the existence of the
   enable-preview compiler argument.
2. Fixed LspServerTelemetryManger.getProjectType() to return "gradle"
   only when the project name contains "gradle". For other kinds of
   netbeans projects, not maven/gradle, the returned value is null. This
   avoids wrong metrics collected for unsupported project types, such as
   ant, openjdk, make etc.
…review-and-type

Fixed nb-telemetry isPreviewEnabled for gradle projects
Overriding transitive dep brace-expansion version to 2.0.2.
1. Allowed LspJavaPlatformProviderOverride to initialize the override
   based on the value set for the option "netbeans.lsp.java.platform.override"
   passed as a JVM system property.

2. Utilised platform override system property in Java VSCode extension
    1. From the Java VSCode extension, passed the value of
       "jdk.project.jdkhome" configuration to the NBLS via the JVM
       system property flag "netbeans.lsp.java.platform.override".
    2. This additionally allows the LspJavaPlatformProviderOverride to initialize
       the JavaPlatform override during construction, avoiding any caching
       of the default platform prior to the configuration being read via LSP.
Fixed enable preview event field value for Gradle and Standalone projects
…ava_platform_override_init

Constructor init of java.lsp.server JavaPlatformProvider override
Merge 'oracle:main' as on 2025-08-26

See merge request oci-jpg-jvsce/javavscode-cpu!3
Applying version recommendation
Corrected the init of the test folder structure for gradle
integration tests to correspond to that expected when
created using `gradle init`.
1. Updated netbeans submodule to tag:27 i.e. branch:release270 HEAD.
2. Removed patches already merged in NB26 and NB27.
3. Fixed whitespace warnings in remaining patches
4. Updated third-party licenses text
5. Incorporated inline-hints support with the jdk.inlay.hints
   configuration.
sid-srini and others added 22 commits April 27, 2026 16:23
- Removed translated messages from netbeans-l10n which are no longer
  present in netbeans or patches.
- Added new nbcode notebook module translations from 25.0.1
- Added/removed empty lines at the end of files or under the license
  header.
Added ja and zh-cn translations of new messages added for v26.0.0.
Also includes minor cleanup in sort order of a few keys and extra
newlines at the end of the file.
…c-setting

Temporarily hide the jdk.advanced.disable.nbjavac setting
- Fixed merge issue in README causing reordering of the Maven user
  settings and VS Code variable substitution sections.
- Added a note about working around VS Code variable substitution in
  settings when using literal string that looks like a variable
  reference.
- Commented out shields badges for VS Code Marketplace that have been
  retired (Refer: vscodemarketplace issue 1776).
- Added Changelog entries for new static content changes in v26.0.0
- Pinned earlier version of cdxgen for which transitive dependency
versions are not failing.
- Moved installation of cyclonedx and other sbom generation tools before
the step of building netbeans, to detect failures earlier.
- Remove hardcoded node path
Fixed SBOM generation failure on older node versions
Amended README and Changelog for v26.0.0 features
New setting ID typo fix: jdk.format.settings -> jdk.format.options
…depMsg

Fixed the new ID in the deprecationMessage for jdk.format.settingsPath
Incorporated the contribution policy for generative AI from product management.

Signed-off-by: Siddharth Srinivasan <siddharth.srinivasan@oracle.com>
LSP server - Package creation and detect duplicate class file name
Fixed handler.ts:jdkHomeValueHandler() to have the promise return the
fallback env vars JDK_HOME or JAVA_HOME when no config value is defined.
- The config getter returns the default value i.e. null, in such a case.
- Thus, the defaultValue parameter cannot be used, since the vscode
  config getter returns the default value defined in package.json,
  causing the value to not be `undefined`.
- So, a `then()` clause on the promise is needed to check for `null` or
  `undefined` value, and fallback to the env vars, if so.
…-handler-fallback

Fixed jdkHome config value handler fallback to env vars
Backports netbeans PR 9369.
- Added checks for null and required JsonElement type in the
  registered config change listeners in WorkspaceService.
- Included a check for blank input defaultPlatformOverride in
  AbstractJavaPlatformProviderOverride to avoid expensive
  initialization in such cases.

This fixes issues like "IOException: Invalid J2SE platform" when
`jdk.project.jdkhome` is set to `""` in settings.json.
…ers-null-check

Added basic type checks in java.lsp.server config change listeners
Merge changes from branch 26.0.1 to main
This workflow triggers Datadog Synthetic tests on push and pull request events to the main branch. It includes steps for using Datadog's GitHub action with necessary API and application keys.
@oracle-contributor-agreement

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Jul 18, 2026
@filforopen-source
filforopen-source changed the base branch from main to JAVAVSCODE-863 July 18, 2026 07:42
@filforopen-source
filforopen-source changed the base branch from JAVAVSCODE-863 to 24.1.0 July 18, 2026 07:43
@sid-srini

Copy link
Copy Markdown
Member

Closing this unnecessary, spurious, and possibly malicious PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Required At least one contributor does not have an approved Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants